:root {
    --primary: #005bff;
    --primary-hover: #004ecc;
    --primary-light: #e8f0fe;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --text-primary: #1a1f36;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --success: #10b981;
    --success-bg: #d1fae5;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --info: #3b82f6;
    --info-bg: #dbeafe;

    --wb: #cb11ab;
    --wb-light: #f5e6f3;
    --ym: #fc3f1d;
    --ym-light: #ffe8e3;
    --ozon: #005bff;
    --ozon-light: #e8f0fe;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 12px;
    --page-width: 1440px;

    --bg-page: #f0f2f5;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border-color: #e6e6e6;
    --border-hover: #aeb5bc;
    --text-main: #001a34;
    --text-sec: #808d9a;
    --text-placeholder: #bdc5cd;
    --accent-blue: #005bff;
    --accent-blue-hover: #004ed6;
    --focus-shadow: rgba(0, 91, 255, 0.15);
    --error-color: #f91155;
    --dropdown-bg: #ffffff;
    --dropdown-hover: #f0f2f5;
    --tag-bg: #f0f2f5;
    --tag-text: #001a34;
    --hint-bg: #333333;
    --hint-text: #ffffff;
}
.flag_start_4 { white-space: nowrap; color: #043a02;font-weight: normal; background-color:#c6f8cf; border-radius: 6px; font-size: 14px; margin-bottom: 6px; margin-top: 4px; padding: 2px; padding-right: 4px;box-shadow: 0px 1px 3px -1px #00000061; }
.flag_start_3 { white-space: nowrap; animation: pulseGreen 1s ease-in-out infinite; color: #db00c8;font-weight: normal; background-color:  #fedaff;  border-radius: 6px; font-size: 14px; margin-bottom: 6px; margin-top: 4px;padding: 2px; padding-right: 4px;box-shadow: 0px 1px 3px -1px #00000061; }
.flag_start_2 {white-space: nowrap; color: #856404;font-weight: normal; background-color:#fff3cd; border-radius: 6px; font-size: 14px; margin-bottom: 6px;margin-top: 4px; padding: 2px; padding-right: 4px;box-shadow: 0px 1px 3px -1px #00000061; }
.flag_start_1 { white-space: nowrap;color: #064cf2;font-weight: normal; background-color:#e2eeff; border-radius: 6px; font-size: 14px; margin-bottom: 6px;margin-top: 4px; padding: 2px; padding-right: 4px;box-shadow: 0px 1px 3px -1px #00000061; }
.flag_start_0 { white-space: nowrap;color: #666;font-weight: normal; background-color:#f3f3f3; border-radius: 6px; font-size: 14px; margin-bottom: 6px;margin-top: 4px; padding: 2px; padding-right: 4px;box-shadow: 0px 1px 3px -1px #00000061; }

.dialog_contragent
{
    position: fixed;
    top:0;
    left: 0;
}
.colorBlockLink svg
{
    fill: #ccc;
    transition: all 0.2s ease;
}
.download_svg
{
    display: flex;
    align-items: center;

    justify-content: center;
}

.delete-action
{
    cursor: pointer;
}
.delete-action svg
{
    zoom: 0.79;
    height: 24px;
    width: 24px;
}
.cell-action.delete-action svg path {
    fill: #94a3b8;
    transition: fill 0.15s ease;
}
.cell-action.delete-action:hover svg path {
    fill: #ef4444;
}
.download_svg svg
{
    width: 20px;
    height: 20px;
}
.header_td {
    font-weight: bold !important; background: #6183a21a !important;
    padding: 2px !important; padding-top: 5px !important; padding-bottom: 5px !important;
    font-size: 12px !important; text-align: left !important; color: #444 !important;
    border-bottom: 1px solid #ddd !important; overflow: hidden !important;
    text-overflow: ellipsis !important; white-space: nowrap !important; background-color: #f2f2f7 !important;
}
.colorBlockLink
{   background-color: rgb(51 113 252 / 5%) !important;
    transition: all 0.2s ease;

    border-radius: 6px;

    border: 1px solid transparent !important;
}
.colorBlockLink:hover
{    padding-left:2px;
    background-color:rgb(50 110 235 / 9%) !important;
    border: 1px dashed  rgba(50,110,235,0.9) !important;
}
.colorBlockLink:hover svg
{
    fill:  rgba(50,110,235,0.9);
}
.spinner { width: 32px; height: 32px; border: 3px solid var(--ozon-border); border-top-color: var(--ozon-blue); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-confirm {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.btn-confirm:hover {
    background-color: #357abd;
}
.btn-cancel {
    background-color: #fff;
    color: #666;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.btn-cancel:hover {
    background-color: #f0f0f0;
}
.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.btMaxMin svg path
{
    transition: all 0.2s ease;
}
.btMaxMin:hover svg path
{
    fill: rgba(46, 78, 247, 0.91);
}
.dialog_select_category
{
    position: fixed;
    top:0;
    left: 0;
    z-index: 100;
}
.green_input
{

    transition: all 2s ease !important;
}

.green_input_animate
{
    background: rgba(56, 204, 12, 0.7) !important;

}
.green_input_animate_ok
{
    background-color: #6183a21a  !important;;
}
.dialog_select_category_add_edit
{
    position: fixed;
    top:0;
    left: 0;
    z-index: 101;
}
strong
{
    font-weight: bold !important;
}
.btGrey:hover {

    background: #565656;


    color: #ccc;
}
.btGrey {
    border: 0;
    outline: none;
    display: flex;
    padding: 10px;
    font-weight: 600;
    border-radius: 4px;
    vertical-align: middle;
    font-size: 14px;
    color: #FFF;
    background-color: #696969;
    transition: all .3s;
    cursor: pointer;
}
.btGrey:active {
    transform: scale(0.98);
}
.btRed:hover {

    background: #c24c45;


    color: #ccc;
}

.btRed {
    background: #c24c45;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btRed:hover {
    background: #c24c45;
}

.btRed:active {
    transform: scale(0.98);
}
.btRed:disabled {

    background-color: #565656;
    color: #777;
    cursor: no-drop;
}

.btBlue svg
{
    fill: #FFF;
    transition: all .3s;
}
.btBlue:hover  svg {
    fill: #ccc !important;

}
.btBlue {
    background: #005bff;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}
.btBlue:hover {
    background: #0047cc;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}
.btn-qr-generator:active {


}
.btBlue:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0, 123, 255, 0.2);
}
.truncate2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    text-align: left;
    min-width: 0;
    width: 100%;

    /* Ключевые свойства для обрезки длинных слов */
    word-break: break-word;        /* или break-all — см. ниже */
    overflow-wrap: break-word;     /* стандартное свойство */
}
.truncate {
    height: 40px;
    line-height: 40px;
    text-align: left;
    border-bottom: 1px solid #e6e6e6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

body
{
    overflow-y: scroll;
}
.btBlue:disabled {
    border: 0;
    outline: none;
    display: flex;


    border-radius: 8px;
    vertical-align: middle;
    font-size: 14px;
    cursor: default !important;
    background-color: #404040 !important;
    transition: all .3s;

    color:  #ccc !important;
}



.btn-qr-generator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #005bff;
    color: #ffffff;

    padding: 10px 20px;
    border-radius: 8px;

    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
    cursor: pointer;
    user-select: none;
}


.btn-qr-generator:hover {
    background-color: #0057f3;

    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}


.btn-qr-generator:active {

    box-shadow: 0 1px 2px rgba(0, 123, 255, 0.2);
}


.btn-qr-generator svg {
    flex-shrink: 0;
}

.bth_blue150
{
    background-color:   rgb(97 131 162 / 10%);
    border: 0;
    outline: none;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    color: rgba(0,50,255,0.78);
    cursor: pointer;
    transition: all 0.1s ease;
    position: absolute;
    border-radius: 5px;
    width: 150px;

}
.bth_blue150:hover
{

    background-color:   rgb(97 131 162 / 15%);
}
.bth_blue150:active
{

    margin-top: 2px;
    background-color:   rgb(97 131 162 /25%);
}






















.btBackAuth:hover svg g
{
    transition: all 0.2s ease;
}
.btBackAuth:hover svg g,.btBackAuth:active svg g
{
    stroke: #0762c3 !important;

}
.res div a {
    flex-grow: 1;
    color: #000;
    display: flex;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 3px;
    padding-top: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.res div a:hover {
    background-color: rgba(86, 133, 213, 0.10);
}

.input_q {
    display: flex;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    font-size: 14px !important;
    padding-left: 40px;
    padding-right: 15px;
    border-radius: 10px 0 0 10px;
    border: 2px solid #4b4b4b;
    outline: none;
    transition: all 0.2s ease;
}

.input_q:hover {
    background-color: #e6e6e6;
}

.img_find {
    width: 16px;
    height: 16px;
    top: 50%;
    margin-top: -8px;

    margin-left: 10px;
    background: url("/img/svg/find.svg") no-repeat;
    position: absolute;
}

.img_filter {
    width: 20px;
    height: 20px;
    top: 50%;
    right: 0;
    margin-top: -10px;
    cursor: pointer;
    margin-right: 10px;
    background: url("/img/svg/filter.svg") no-repeat;
    position: absolute;
}

.input_q {
    font-size: 18px;

}

.i {
    background: url('/img/svg/find3.svg') no-repeat center center;
    width: 16px;
    height: 16px;
    padding-right: 5px;
    min-width: 16px;
    padding-left: 5px;


}

.res a div:nth-child(2) {
    flex-grow: 1;
    padding-right: 5px;
}

.btFind {
    background-color: #4b4b4b;
    color: #FFF;
    border-radius: 0 10px 10px 0;
    outline: none;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    padding-right: 15px;
}

.btFind:hover {
    background-color: #3A74C5;
}







.txt_24
{
    display: none;
}

  .topmenu
{
    display: flex;
    width: 100%;
    justify-content: center;
}
.topmenu li
{
    display: block;

}.topmenu li a
 {
     color: #000;
    text-decoration: none;

 }
.hover_product {
    position: relative;
    contain: layout style paint; /* применяется ко всем */
}

.hover_product::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(86, 133, 213, 0.10);
    opacity: 0;
    transition: opacity 0.2s linear;
    pointer-events: none;
}

.hover_product:hover::before {
    opacity: 1;
}

/* Отменяем contain для вложенных .hover_product */
.hover_product  {
    contain: none;
}
.controller_text *
{

}
.html_body
{
    display: flex;flex-direction: column;word-break: break-word;
}
.btn_blue
{
    border: 1px solid #4b4b4b;
    border-radius: 2px;

    color: #FFF;
    background-color:   #4b4b4b;
    cursor: pointer;
    padding: 14px 34px;
    display: flex;justify-content: center;
    transition: background-color 0.2s ease;
}
.btn_blue:hover
{

    background-color: #414141;

}


.btBlue2 {
    border: 1px solid  #035af5;
    border-radius: 2px;
    color: #fff;
    background-color: #035af5;
    cursor: pointer;
    padding: 6px;
    display: flex;justify-content: center;
    transition: background-color 0.2s ease;
}
.btBlue2:disabled
{
    background: #524c54 !important;
    color: #FFF; border: 1px solid #3e3940;
}
.btBlue2:hover {

    box-shadow: inset 0 0 1px 0 #fff;
    background-color: #035af5;
    color: #FFF;

}
.box {


    padding: 2px;
    width: 199%;
}

.box p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btBlue2:active {
    background-color: #0352d7;
    box-shadow: inset 0 0 1px 0 #fff;
    color: #FFF;

}


.tel
{
    color: #4b4b4b !important;
text-decoration: none;
}
.btn_blue:hover
{
    background-color: #4b4b4b;
}
.colorLink
{
    color: #4362ff;
    transition: all 0.2s ease;

}


.colorLink:hover
{
    color: #2c45a7 !important;
}

.hideScroll{
    overflow-y: hidden;
}
.btnCatalog
{

    color: #FFF;
    background-color:  #4b4b4b;
    cursor: pointer;
    padding: 0;
    border-radius: 10px;
    display: flex;justify-content: center;
    transition: background-color 0.2s ease;
}.btnCatalog:hover
 {
     background-color: #3e3e3e;
 }
.btn
{
    border: 1px solid #4b4b4b;
    border-radius: 38px;
    color: #707070;
    background-color: white;
    cursor: pointer;
    padding: 14px 34px;
    display: flex;justify-content: center;
transition: background-color 0.2s ease;
}
.btn:hover
{
    transition: background-color 0.2s ease;
    background-color: rgba(86, 133, 213, 0.10);
}
.btnhover
{
    cursor: pointer;transition: background-color 0.2s ease;
}
.btnhover:hover
{
    background-color: rgba(86, 133, 213, 0.10);
}

.btnhover2
{
    cursor: pointer;transition: background-color 0.2s ease;
}
.btnhover2:hover
{
    background-color: rgba(204, 247, 221, 0.96);
}
.line
{
    font-size: 12px;
    padding: 4px;
}
.newline
{
font-size: 12px;
    padding: 4px;
    transition: 6s ease all;
    background-color: #FFF;
    animation: color-change 5s ease-in;

}
@keyframes color-change {
    0% { background-color: #ffffff; }
    1% { background-color: #ffee35; }
    50% { background-color: #ff9f3e; }
    100% { background-color: #FFF; }
}

.btn:active
{
    background-color: rgba(86, 133, 213, 0.10) !important;
}

.btn:active
{
    background-color: rgba(86, 133, 213, 0.20)  !important;
}
.btCatalog
{
    width: 100px;
    padding: 11px 34px;
    text-align: center;
}
.grid_footer_menu ul
{

}
.grid_footer_menu li
{

    margin-top: 6px;
    margin-bottom: 6px;
    display: block;
}
.grid_footer_menu li a
 {
     text-decoration: none;
    color: #232323;

 }

.loading
{
    background-image: url('/img/load_mono.gif');  background-size: 16px;background-position:  center;background-repeat: no-repeat;
}
.loading_ok
{
    background-size: cover;
    background-repeat: no-repeat;
}

h1
{
    margin: 0 0 10px;
}
.fade_menu_comp
{
    transition: 0.3s all ease;
}
.adr,.adr2
{

            width: 100%; border: 1px solid #e6e6e6;
            transition: all 0.2s ease;
            outline: none;
            padding: 12px;
            display: flex;
            border-radius: 4px;
        }
.adr:focus,.adr2:focus
        {
            border: 1px solid #4b4b4b;
        }

.btnGrey
{
    border: 1px solid #e6e6e6;
    padding: 14px;
    border-radius: 38px;
}
.count_cart
{
    background-color:  #5e81c1;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: inset 0px 0px 2px 1px #4265a5, 0px 0px 4px -1px #747474;
    padding: 0px;
    color: #FFF;
    border-radius: 4px;
    /* padding-left: 3px; */
    font-size: 10px;
    /* padding-right: 3px; */
    height: 18px;
    width: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.count_fav
{
    background-color:  #4b4b4b;
    position: absolute;
    top: -8px;
    right: -8px;
    box-shadow: inset 0px 0px 2px 1px #4265a5, 0px 0px 4px -1px #747474;
    padding: 0px;
    color: #FFF;
    border-radius: 4px;
    /* padding-left: 3px; */
    font-size: 10px;
    /* padding-right: 3px; */
    height: 18px;
    width: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.count_fav_top
{
    background-color:   #7671F2;
    position: absolute;
    box-shadow: inset 0px 0px 2px 1px #4265a5, 0px 0px 4px -1px #747474;
    top: -1px;
    right: -1px;
    /* padding: 2px; */
    color: #FFF;
    border-radius: 4px;
    /* padding-left: 5px; */
    font-size: 10px;
    /* padding-right: 5px; */
    height: 16px;
    width: 18px;
    align-items: center;
    justify-content: center;
}
.count_cart_top
 {
     background-color:   #7671F2;
     position: absolute;
     box-shadow: inset 0px 0px 2px 1px #4265a5, 0px 0px 4px -1px #747474;
     top: -1px;
     right: -1px;
     /* padding: 2px; */
     color: #FFF;
     border-radius: 4px;
     /* padding-left: 5px; */
     font-size: 10px;
     /* padding-right: 5px; */
     height: 16px;
     width: 18px;
     align-items: center;
     justify-content: center;
 }

.btnCart
{
    background-color:  #7671f2;
    color: #FFF;
    padding: 12px;    outline: none;
    border: 0;
    transition: all 0.2s ease;  font-size: 12px;
    cursor: pointer;
    min-height: 40px;  display: block;
}
.btnCart:hover
{
    background-color: rgba(121, 141, 251, 0.91);
}
.btnCart:disabled
{
    background: #524c54 !important;
    color: #FFF; border: 1px solid #3e3940;
}
.btnCart2
{    border: 0;
    outline: none;
    background-color:  #d5e1fb;
    color:  #5689ce;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    display: block;    transition: all 0.2s ease;
}

.btnCart2:hover
{
    background-color: #c8d4ee;
}

.fade_menu
{
    box-shadow: inset 20px 0 9px -23px #000;
    background-color: #72727261;
}


.btBlue3 {
    border: 1px solid #8d8d8d;
    border-radius: 2px;
    color: #3a3a3a;
    background-color: #e4e4e4;
    cursor: pointer;
    padding: 6px;
    display: flex;
    justify-content: center;
    transition: background-color 0.2s ease;
    font-size: 12px;
}

.btBlue3:hover {
    background:  #9d9d9d; 
    box-shadow: inset 0 0 1px 0 #fff;
    color: #111;

}
.btGreen:hover {

    background: #499442;


    color: #ccc;
}

.btGreen:disabled {

    background-color: #a3a1a4;
 cursor: no-drop;
}
.btGreen {
    border: 0;
    outline: none;
    display: flex;
    padding: 10px;

    border-radius: 8px;
    vertical-align: middle;
    font-size: 14px;
    color: #FFF;
    background-color: #54a142;
    transition: all .3s;
    cursor: pointer;    font-weight: 600;
}

.btGreen:active {
     transform: scale(0.98);
 }
.btWhile {
    border: 0;
    outline: none;
    display: flex;
    padding: 10px;
    align-items: center;
    border-radius: 8px;
    vertical-align: middle;
    font-size: 14px;
    color: #090909;
    background-color: #ebebeb;
    transition: all .3s;
    cursor: pointer;
    font-weight: 600;
}
.btWhile:hover {

    background: #d2d2d2;


    color: #090909;
}.btWhile:active {
     transform: scale(0.98);
 }