

.form_aut {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.need_auth{height:100%;}
.need_auth body{height:100%;}
.need_auth body .main{height:100%;}
.header_block {
    background: #202020;
    box-shadow: 0px 4px 30px rgba(6, 6, 6, 0.1);
}
.menu-verhnee-container {
    padding: 0 90px 0 0;
}

.logged-in:not(.only-editor):not(.admin-bar) .main {
    user-select: none;
}

.header_block ul#menu-verhnee {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header_block ul#menu-verhnee .current-menu-item a{color:#fff;}
.header_block ul#menu-verhnee .menu-item:hover a{color:#fff; transition: all .3s;}
.search_line{padding: 30px 30px 20px; background-color: #fff; box-shadow: 0px 12px 24px rgba(18, 38, 63, 0.05); border-radius: 4px; margin-bottom: 20px;}
/* .container.main {
    padding: 30px 0;
} */
.header_block ul#menu-verhnee .menu-item {
    margin-right: 26px;
}
.header_block ul#menu-verhnee .menu-item a {
    color:#ccc;
    text-decoration:none; 
    font-size:16px;
    padding: 19px 0;
    border-bottom: 4px solid transparent;
    transition: all .3s;
}

.yellow-button {
    background: #FFD500;
    border-radius: 90px;
    padding: 13px 0 13px;
    width: 100%;
    border: 2px solid #FFD500;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}

.yellow-button:hover {
    opacity: .8;
}

.yellow-button:focus {
    outline: none;
}

.header_block ul#menu-verhnee .menu-item a:hover {
    border-color: #fff;
}
.header_block ul#menu-verhnee .current-menu-item a{
    border-color: #fff;
    color: #fff;
}
.container img {
    max-width: 100%;
    object-fit: contain;
}
table.spec{width:100% !important;}
table.spec thead th, table.spec thead td,table.spec{border-bottom: none !important;}

.form-wrapper {
    background: #393939;
    box-shadow: 0px 24px 44px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 73px 48px 64px;
}

.login-caption {
    font-weight: 800;
    font-size: 34px;
    color: #fff;
    padding: 0 53px 30px;
    line-height: 1;
}

.inputs-row {
    margin-bottom: 20px;
    position: relative;
    display: flex;
}

.inputs-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
    pointer-events: none;
    user-select: none;
}

.inputs-error {
    position: absolute;
    right: 23px;
    bottom: -17px;
    color: #F14336;
    font-size: 12px;
    transition: all .3s;
    visibility: hidden;
    opacity: 0;
}

.inputs-row.error .input{
    border-color: #F14336;
}

.inputs-row.error .inputs-error{
    visibility: visible;
    opacity: 1;
}

.input {
    width: 100%;
    padding: 16px 19px 17px ;
    border: 1px solid #CCD1D8;
    background-color: transparent;
    border-radius: 90px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.input:focus {
    outline: transparent;
}

.login-remember {
    text-align: left;
}

.custom-checkbox {
    display: none;
}

.custom-label-checkbox {
    margin: 0;
    padding-left: 47px;
    color: #ABABAB;
    user-select: none;
    font-weight: 500;
    font-size: 14px;

}

.custom-label-checkbox::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 19px;
    width: 20px;
    height: 20px;
    border: 1px solid #CCD1D8;
    border-radius: 6px;
}

.custom-label-checkbox::after {
    content: '';
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 23px;
    width: 11px;
    height: 11px;
    background-color: #fff;
    border-radius: 4px;
}

#rememberme:checked~.custom-label-checkbox::after {
    opacity: 1;
    visibility: visible;
}

.button-icon {
    margin-left: 5px;
    user-select: none;
}

.user {
    display: flex;
    align-items: center;
}

.user__img {
    object-fit: contain;
    width: 40px;
    margin-right: 14px;
    user-select: none;
} 

.user__name {
    font-size: 15px;
    color: #C0C2CF;
    margin-right: 20px;
}

.user-exit {
    position: relative;
    user-select: none;
}

.user-exit__menu {
    position: absolute;
    right: 0;
    bottom: -104px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    background: #202020;
    box-shadow: 0px 4px 30px rgba(6, 6, 6, 0.1);
    padding: 20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.user-exit__menu.active {
    opacity: 1;
    visibility: visible;
}

.user-exit__button {
    padding: 5px;
    border: none;
    background-color: transparent;
}

.auth_logout {
    padding: 11px 55px 12px;
}

.user-exit__button:focus {
    outline: none;
}

.home {
    background: url("./dist/images/home-bg.png") no-repeat center center fixed;
    background-size: cover;
}

.home.logged-in {
    background-color: #F4F4F4;
    background-image: none;
}

.logo__link {
    display: inline-block;
    user-select: none;
}

.home-logo {
    margin-top: 30px;
}

.item__caption {
    font-weight: 500;
    font-size: 30px;
    color: #202020;
    margin-bottom: 14px;
}

.nav.nav-pills {
    margin-bottom: 38px !important;
    padding-bottom: 15px;
    border-bottom:  1px solid #E8E8E8;
}

.nav-pills .nav-link {
    font-size: 14px;
    color: #202020;
    border: 1px solid #002F34;
    border-radius: 4px;
    padding: 5px 10px;
    transition: all .3s;
}

.nav-pills .nav-link:hover {
    background-color: #FFD500;
    border-color: #FFD500;
}

.nav-item {
    margin: 0 13px 10px 0;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #FFD500;
    border-radius: 4px;
    position: relative;
    color: #202020;
    border-color: #FFD500;
}

.table tbody td {
    border-top: none;
}

.table .item-table-head th {
    border: none;
}

.item-table-head {
    background: #F9F9F9;
    border: 1px solid #E8E8E8;
}

.item-table-body tr {
    border: 1px solid #E8E8E8;
}

.item-table-body tr td {
    border-left:  1px solid #E8E8E8;
}

.tab-pane .table {
    margin-bottom: 40px;
}

.item-caption {
    font-weight: 700;
    font-size: 18px;
    color: #202020;
    margin-bottom: 16px;
}

.menu {
   align-items: center;
   display: flex;
   justify-content: space-between;
   margin-bottom: 30px;
}

.form-inline {
    width: 100%;
}

.form-group .custom-select {
    border: 1px solid #DADCE4;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}


.form-group.group-with-select .custom-select{
    width: 100%;
}

.form-inline .form-group.group-with-select {
    flex: 0 0 25%;
    position: relative;
}

.form-inline .form-group.group-with-input {
    flex: 0 0 33%;
    position: relative;
}

.form-inline .form-group.group-with-input .form-control{
    width: 100%;
}

.group-with-select::after {
    content: '';
    background-image: url('./dist/icons/select-vector.svg');
    background-repeat: no-repeat;
    display: inline-block;
    height: 6px;
    width: 10px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translate(0, -50%);
    pointer-events: none;
    user-select: none;
}

.group-wrapper {
    display: flex;
    width: 100%;
}

.btn-search {
    background-color: #FFD500;
    border-radius: 4px;
    padding: 5px 36px 6px;
    transition: all .3s;
    margin: 0;
    border: none;
}

.btn-search:hover {
    background-color: #ffe872;
}

.btn-search__text {
   font-size: 14px;
   color: #202020;
}

.btn-search__icon {
    margin-left: 5px;
}

.data_block {
    background: #FFFFFF;
    box-shadow: 0px 12px 24px rgba(18, 38, 63, 0.05);
    border-radius: 4px;
    padding: 32px 30px 45px;
}

.data_block .table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.data_block .table th,.data_block .table td {
    border: 1px solid #E8E8E8;
    padding: 10px 27px;
    vertical-align: top;
}

.data_block .table thead th {
    font-size: 16px;
    font-weight: 500;
    color: #202020;
}

.data_block .table tbody td {
    font-size: 16px;
    font-weight: 400;
    color: #202020;
}

.col-id {
    width: 9%;
}

.col-name {
    width: 80%;
}

.data_block__link {
    color: #53586A;
    background: #F7F7F7;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    transition: all .3s;
    user-select: none;
}

.data_block__link:hover {
   text-decoration: none;
   color: #202020;
   background: #cccccc;
}

.block__caption {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    color: #202020;
}

.site-main article {
    border-bottom: 1px solid #E8E8E8;
    padding: 37px 0 39px;
}

.site-main article:first-of-type {
    border-top: 1px solid #E8E8E8;
}

.entry-title a {
    font-weight: 500;
    font-size: 18px;
    color: #202020;
}

.entry-content p {
    font-size: 14px;
    color: #202020;
}

.buyout__text {
    margin-bottom: 30px;
}

.dataTables_wrapper .card {
    margin-bottom: 10px;
    border: none;
}

.dataTables_wrapper .card-header{
    background: #FFFFFF;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 1;
    padding: 10px 20px;
 }
 
 .dataTables_wrapper .card-header:first-child {
    border-radius: 6px;
 }

.card .btn-link {
    font-size: 18px;
    font-weight: 500;
    color: #202020;
    transition: all .3s;
}

.card .btn-link:hover {
    text-decoration: none;
    color: #9a9a9a;
}

.card .btn-link:focus {
    text-decoration: none;
    box-shadow: none;
}

.dataTables_wrapper .card-body {
    background: #FFFFFF;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    margin-top: -6px;
    padding: 20px 34px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.card-body p {
    margin: 0;
    font-size: 16px;
    color: #202020;
}

#accordion1_info {
    display: none;
}

table.dataTable tbody .odd th, table.dataTable tbody .odd td {
    padding: 0;
}

.dataTables_filter .form-control:focus {
    border-color: #FFD500;
    box-shadow: 0 0 0 0.2rem #fedb74;
}

.scroll-to-top {
    width: 60px;
    height: 60px;
    padding: 15px;
    display: block;
    border-radius: 50%;
    border: 2px solid #202020;
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: all .3s;
    background-color: transparent;
}

.scroll-to-top:hover {
    background-color: #FFD500;
    border-color: transparent;
}

@media screen and (max-width: 1050px) {
    .form-inline .form-group.group-with-select {
        flex: 0 0 30%;
    }
    .form-inline .form-group.group-with-input {
        flex: 0 0 40%;
    }
}

@media screen and (max-width: 850px) {
    .menu-verhnee-container {
        margin-left: 40px;
    }
    .header_block ul#menu-verhnee .menu-item {
        margin-right: 15px;
    }
    .header_block ul#menu-verhnee .menu-item a {
        font-size: 14px;
    }
    .group-wrapper {
        flex-wrap: wrap;
    }

    .form-inline .form-group.group-with-select {
        flex: 0 0 100%;
    }
    .form-inline .form-group.group-with-input {
        flex: 0 0 100%;
        margin-left: 0!important;
        margin-right: 0!important;
    }
}


@media screen and (max-width: 576px) {
    .menu-verhnee-container {
        margin-left: 10px;
    }
    .header_block ul#menu-verhnee .menu-item {
        margin-right: 5px;
    }
    .header_block ul#menu-verhnee .menu-item a {
        font-size: 10px;
    }
    .data_block {
        padding: 5px;
    }
    .data_block .table thead th {
        font-size: 13px;
    }
    .data_block .table tbody td {
        font-size: 12px;
    }
    .data_block .table th, .data_block .table td {
        padding: 10px
    }
}

/* cpt_tepl card */
.tepl-card { border-radius: 8px; overflow: hidden; }
.tepl-card__title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tepl-card__title { flex: 1 1 auto; text-align: left; }
.tepl-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tepl-stock-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tepl-stock-pill--ok   { background: #f8fafc; border-color: #e2e8f0; color: #334155; }
.tepl-stock-pill--ok::before   { background: #22c55e; }
.tepl-stock-pill--low  { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.tepl-stock-pill--low::before  { background: #f59e0b; }
.tepl-stock-pill--zero { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.tepl-stock-pill--zero::before { background: #ef4444; }
.tepl-stock-pill__label { font-weight: 600; opacity: .8; }
.tepl-stock-pill__unit  { opacity: .65; font-weight: 500; }
.tepl-stock-pill > span { color: inherit; }
.tepl-stock-pill > span:nth-child(2),
.tepl-updated-at > span:nth-child(2) { opacity: .35; font-weight: 400; }
.tepl-card__carousel {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    max-width: 480px;
}
.tepl-card__carousel .carousel-item img {
    max-height: 320px;
    object-fit: contain;
    background: #0f172a;
}

/* cpt_tepl single page — design tokens */
.tepl-single {
    --tepl-bg: #f6f7f9;
    --tepl-surface: #ffffff;
    --tepl-border: #e5e7eb;
    --tepl-text: #0f172a;
    --tepl-text-muted: #64748b;
    --tepl-accent: #FFD500;
    --tepl-radius-sm: 6px;
    --tepl-radius-md: 10px;
    --tepl-radius-lg: 14px;
    --tepl-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 1px rgba(15, 23, 42, .03);
    --tepl-shadow-md: 0 4px 14px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);

    max-width: 880px;
    margin: 0 auto;
    padding: 32px 24px 64px;
    color: var(--tepl-text);
    font-size: 16px;
    line-height: 1.6;
}

.tepl-single__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--tepl-border);
}

.tepl-single__title {
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--tepl-text);
}

.tepl-single__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tepl-updated-at {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.tepl-updated-at::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    animation: tepl-pulse 2.2s cubic-bezier(.4,0,.2,1) infinite;
    flex-shrink: 0;
}
.tepl-updated-at .dashicons { display: none; }
.tepl-updated-at__label {
    font-weight: 600;
    color: inherit;
}
.tepl-updated-at time,
.tepl-updated-at [data-tepl-updated-text],
.tepl-updated-at [data-tepl-stock-status] > span:last-child {
    color: inherit;
    opacity: .72;
}

.tepl-updated-at--error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}
.tepl-updated-at--error::before {
    background: #ef4444;
    animation: none;
    box-shadow: 0 0 0 3px rgba(239,68,68,.18);
}

@keyframes tepl-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.55); }
    70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0);   }
    100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);   }
}
@media (prefers-reduced-motion: reduce) {
    .tepl-updated-at::before { animation: none; }
}

.item__caption + .tepl-updated-at {
    margin: 0 0 16px 0;
    vertical-align: middle;
}
.tepl-single__gallery .tepl-card__carousel {
    max-width: none;
    box-shadow: var(--tepl-shadow-sm);
}
.tepl-single__gallery .tepl-card__carousel .carousel-item img {
    max-height: 480px;
}

.tepl-single__content {
    background: var(--tepl-surface);
    border: 1px solid var(--tepl-border);
    border-radius: var(--tepl-radius-lg);
    padding: 28px 32px;
    box-shadow: var(--tepl-shadow-sm);
}

.tepl-single__content > *:first-child { margin-top: 0; }
.tepl-single__content > *:last-child  { margin-bottom: 0; }

.tepl-single__content h1,
.tepl-single__content h2,
.tepl-single__content h3 {
    margin: 28px 0 12px;
    line-height: 1.3;
    color: var(--tepl-text);
}
.tepl-single__content h2 { font-size: 22px; font-weight: 600; }
.tepl-single__content h3 { font-size: 18px; font-weight: 600; }

.tepl-single__content p { margin: 0 0 14px; }

.tepl-single__content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s ease;
}
.tepl-single__content a:hover { color: #1e40af; }

.tepl-single__content ul,
.tepl-single__content ol { padding-left: 22px; margin: 0 0 14px; }
.tepl-single__content li { margin-bottom: 6px; }

.tepl-single__content blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--tepl-accent);
    background: #fffbea;
    color: #422f00;
    border-radius: 0 var(--tepl-radius-sm) var(--tepl-radius-sm) 0;
}

.tepl-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tepl-radius-sm);
}

.tepl-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.tepl-single__content th,
.tepl-single__content td {
    padding: 10px 12px;
    border: 1px solid var(--tepl-border);
    text-align: left;
}
.tepl-single__content th { background: #f8fafc; font-weight: 600; }

@media (max-width: 640px) {
    .tepl-single { padding: 20px 16px 48px; }
    .tepl-single__title { font-size: 26px; }
    .tepl-single__content { padding: 20px; }
}

.tepl-gallery-trigger { cursor: zoom-in; display: block; }

#tepl-img-modal .modal-dialog { max-height: 90vh; }
#tepl-img-modal .modal-body { max-height: 90vh; overflow: hidden; }
#tepl-img-modal__img { max-height: 90vh; width: auto; max-width: 100%; object-fit: contain; }

.tepl-img-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    color: #fff;
    opacity: .8;
    font-size: 2rem;
    z-index: 10;
}
.tepl-img-modal__close:hover { opacity: 1; color: #fff; }