:root {
    --primary-color: #1976d2;
    --red-color: #d32f2f;
    --green-color: #388e3c;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather24pt-Bold.woff2') format('woff2'),
    url('../fonts/Merriweather24pt-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather24pt-Regular.woff2') format('woff2'),
    url('../fonts/Merriweather24pt-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SF UI Text';
    src: url('../fonts/SFUIText-Medium.woff2') format('woff2'),
    url('../fonts/SFUIText-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Text';
    src: url('../fonts/SFUIText-Regular.woff2') format('woff2'),
    url('../fonts/SFUIText-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Text';
    src: url('../fonts/SFUIText-Bold.woff2') format('woff2'),
    url('../fonts/SFUIText-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --beige-color: rgba(245, 239, 222, 1);
    --black-color: rgba(36, 38, 35, 1);
    --red-color: #e4191e;
    --blue-color: rgba(15, 61, 116, 1);
    --gray-color: rgba(39, 38, 43, 0.1);
    background: var(--beige-color);
    color:var(--black-color);
    font-size: 16px;
}
html,body {
    /*scroll-behavior: smooth;*/
}
body {
    background: var(--beige-color);
    font-family: 'SF UI Text';
    font-weight: normal;

}

*, *:before,*:after {
    box-sizing: border-box;
}
*::-webkit-scrollbar {
    display: none;
}


pre {
    padding: 2rem;
    background: #1f2833;
    color: aqua;
    font-size: 9px;
}
a {
    transition: .3s ease-out;
    color: var(--black-color);
    text-decoration: none;
}




#pwa-app {
    position: relative;
    height: 100vh;

}
.v-content {
    overflow: auto;
    padding: 102px 0 132px 0;
}
.v-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
}



/*forms*/
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="email"]{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0px 16px;
    height: 60px;
    background: rgba(39, 38, 43, 0.05);
    border: 1px solid rgba(39, 38, 43, 0.1);
    border-radius: 8px;
    /* transition: .3s ease-out; УБРАНО для производительности ввода */
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: var(--black-color);
    margin-bottom: 24px;
    outline: none!important;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="text"]:active,
input[type="tel"]:active,
input[type="number"]:active,
input[type="email"]:active,
input[type="password"]:focus,
input[type="password"]:active{
    background: white!important;
    /* Убираем все transitions при фокусе для мгновенного отклика */
    transition: none !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important; /* Заменяем фон на белый (или любой другой цвет) */
    -webkit-text-fill-color: var(--black-color) !important; /* Цвет текста */
    transition: background-color 5000s ease-in-out 0s; /* Отключаем анимацию изменения фона */
}
input::placeholder {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #A9A8AA;
}
/*forms*/




/*buttons*/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
.v-quantity-btn {
    display: grid;
    grid-template-columns: 36px auto 36px;
    align-items: center;
    padding: 6px 4px;
    grid-gap: 10px;

    border: 1px solid rgba(39, 38, 43, 0.1);
    border-radius: 8px;
}
.v-quantity-btn .plus,
.v-quantity-btn .minus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--blue-color);
}
.v-quantity-btn .minus {
    background: var(--gray-color);
}
.v-quantity-btn input {
    max-width: 32px;
    height: 32px;
    border: none;
    outline: none;
    background: none;
    text-align: center;
    margin: 0;
    padding: 0;
}


.v-btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--blue-color);
    border-radius: 6px;
    transition: .3s ease-out;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    padding: 6px 20px;
    cursor: pointer;
}
.v-btn .icon {
    display: block;
    margin-left: 10px;
}
.v-btn.white {
    height: 40px;
    border-radius: 8px;
    padding: 6px 12px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 13px;
    background: white;
    color: var(--black-color);
}
.v-btn.white .icon {
    margin-left: 8px;
}
/*buttons*/











.vilka-loading-block.loading {
    position: relative;
    opacity: .5;
    transition: .3s ease-out;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: var(--beige-color);
    pointer-events: none;
}
.vilka-loading-block.loading:before,
.vilka-loading-block.loading:after {
    content: '';
    width: 48px;
    height: 48px;
    border-radius: 100%;
    display: block;
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    z-index: 10;
}
.vilka-loading-block.loading:before {
    animation: rotate 1s linear infinite;
}
.vilka-loading-block.loading:after {
    border: 5px solid var(--black-color);
    animation: prixClipFix 2s linear infinite;
}
@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

/*header*/
.v-header {
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--black-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 10;
}
.v-header .v-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.v-header .logo {
    width: 45px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0 0;
}
.v-header .pageName {
    text-align: center;
    color: white;
    flex: 1;
    font-size: 22px;
    font-family: 'Merriweather';
    font-weight: normal;
}
.v-header .search-btn {
    width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: center;
}
.v-header .user-info {
    /*padding-top: .25rem;*/
    /*padding-bottom: .025rem;*/
    /*width: 100%;*/
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.v-header .user-info * {
    font-size: 12px;
    color: var(--beige-color);
}
/*header end*/

/*footer*/
.v-footer {
    width: 100%;
    background: white;
    height: 90px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
}
.v-footer .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    align-items: center;
    width: 100%;
    text-align: center;
}
.v-footer .grid .item {
    min-width: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Merriweather';
    font-weight: normal;
}
.v-footer .grid .item svg {
    display: block;
    margin-bottom: 8px;
    color: var(--black-color);
}
.v-footer .grid .item svg.updateIcon {
    width: 39px;
    height: 39px;
}
.v-footer .grid .item svg.updateIcon.loading {
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.v-footer .grid .item.router-link-active,
.v-footer .grid .item.router-link-active svg{
    color: var(--red-color)
}
.v-footer .grid .item .card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.v-footer .grid .item .cnt {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 100%;
    background: var(--red-color);
}
.v-footer .notify {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 24px;
    align-items: center;
    left: 0;
    z-index: 10;
    background: #f1f1f1;
    color: var(--black-color);
    padding: 10px 32px;
    overflow: auto;
    font-size: 12px;
    position: fixed;
    bottom: 90px;
}
.v-footer .notify.error {
    background: var(--red-color);
}
.v-footer .notify.success {
    background: rgba(0, 128, 0, 1);
}
/*footer end*/

.v-border-radius20 {
    border-radius: 20px;
}
.v-border-radius100 {
    border-radius: 100%;
}
.bg-beige {
    background: var(--beige-color);
}
.bg-white {
    background: white;
}

/*home*/
.home-grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 24px;
}
.home-grid-links > * {
    min-width: 0px;
}
.home-grid-links .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 332px;
    padding: 24px;
}
.home-grid-links .item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    position: relative;
}
.home-grid-links .item .icon .cnt {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    background: var(--red-color);
    border-radius: 100px;
    border: 2px solid white;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    padding-right: 4px;
    color: #FFFFFF;
}
.home-grid-links .item .title {
    font-size: 22px;
    display: block;
    margin-top: 48px;
    font-family: 'Merriweather';
    font-weight: normal;
}
/*home*/



/*catalog*/
.catalog-grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    grid-gap: 24px;
}
.catalog-grid-links > * {
    min-width: 0px;
}
.catalog-grid-links .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 332px;
    padding: 24px 20px;
}
.catalog-grid-links .item .img {
    width: 200px;
    max-width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-grid-links .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.catalog-grid-links .item .title {
    display: block;
    margin-top: 48px;
    font-family: 'Merriweather';
    font-weight: normal;
}
/*catalog*/



.v-sections-links {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: auto;
    margin-bottom: 24px;
}
.v-sections-links .item {
    display: inline-block;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--black-color);
    padding: 6px 12px;
    border: 1px solid rgba(39, 38, 43, 0.2);
    border-radius: 6px;
    margin-right: 12px;
}






/*карточка в списке*/
.v-product-list-card {
    display: grid;
    grid-template-columns: 140px 3fr 1fr auto;
    grid-gap: 32px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 160px;
    width: 100%;
    align-items: center;
}
.v-product-list-card > * {
    min-width: 0px;
}
.v-product-list-card .img {
    width: 100%;
    height: 140px;
}
.v-product-list-card .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.v-product-list-card .name {
    width: 100%;
    margin-bottom: 8px;
    font-weight: 500;
}
.v-product-list-card .article {
    font-size: 14px;
}
.v-product-list-card .price {
    font-weight: bold;
}
.v-product-list-card .v-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--blue-color);
    color: white;
    font-size: 14px;
    border-radius: 8px;
    height: 44px;
    min-width: 130px;
}
.v-product-list-card .v-btn .icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
}
/*карточка в списке end*/


/*деталка*/
.v-product-detail {
    width: 100%;
    padding-bottom: 90px;
}
.v-product-detail .img-wrapper {
    width: 100%;
    background: white;
    margin-bottom: 32px;
    margin-top: -32px;
}
.v-product-detail .img-wrapper .v-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 400px; /* todo: Временно потом надо убрать ограничения*/
}
.v-product-detail .img-wrapper .v-container.without-photo {
    justify-content: center;
}
.v-product-detail .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.v-product-detail .swiper-slide {
    background-size: contain;
    background-position: center;
}
.v-product-detail .swiper.main {
    width: 100%;
    max-width: 460px;
    height: 400px;
    margin: 0;
    padding-bottom: 32px;
}
.v-product-detail .swiper.thumb {
    width: 140px;
    margin: 0;
    height: 368px;
    padding-bottom: 32px;
}
.v-product-detail .swiper.thumb .swiper-slide {
    width: 100%;
    height: 140px;
    opacity: 0.4;
    transition: .3s ease-out;
}
.v-product-detail .swiper.thumb .swiper-slide-thumb-active {
    opacity: 1;
}
.v-product-detail .no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.v-product-detail .no-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.v-product-detail .product-name {
    font-size: 26px;
    margin-bottom: 48px;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: var(--black-color);
}
.v-product-detail .title {
    margin-bottom: 22px;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: var(--black-color);
}
.v-product-detail .sku-wrapper {
    margin-bottom: 32px;
}
.v-product-detail .description {
    padding-bottom: 90px;
}
.v-product-detail-actions {
    width: 100%;
    background: white;
    height: 90px;
    position: fixed;
    left: 0;
    bottom: 90px;
    border-bottom: 1px solid var(--gray-color);
    z-index: 1;
}
.v-product-detail-actions .v-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}
.v-product-detail-actions .article {
    display: block;
    margin-right: auto;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: var(--black-color);
}
.v-product-detail-actions .price {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    color: var(--black-color);
    margin-right: 32px;
}
/*деталка end*/






/*корзина*/
.v-card-wrapper {
    padding-bottom: 80px;
    height: 100%;
}
.v-card-total-block {
    background: var(--blue-color);
    position: fixed;
    bottom: 90px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
}
.v-card-total-block * {
    color: white;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    font-size: 18px;
}
.v-card-total-block .link {
    font-size: 24px;
    text-align: center;
}
.v-card-total-block .total {
    text-align: right;
}
.v-card-item {
    background: white;
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.v-card-item .img {
    width: 120px;
    height: 120px;
    margin-right: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v-card-item .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.v-card-item .description {
    flex: 1;
    margin-right: 32px;
}
.v-card-item .name {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: var(--black-color);
    margin-bottom: 4px;
}
.v-card-item .article {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: var(--black-color);
}

.v-card-item .quantity, .v-product-card .quantity, .v-product-list-card .quantity {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: var(--primary-color);
    margin-top: 2px;
}
.v-card-item .price {
    text-align: right;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 120%;
    color: var(--black-color);
    margin-bottom: 24px;
}
.v-card-item .buttons {
    display: flex;
    align-items: center;
}
.v-card-item .remove {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-right: 32px;
}
.v-card-item .delivery-selector {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    /*padding-top: 12px;*/
}
.v-card-item .delivery-selector .form-label,
.v-card-item .delivery-selector  .radio-input{
    font-size: 13px;
}
.v-card-item .delivery-selector  .radio-input {
    width: auto;
    margin-right: 16px;
    gap: 5px;
}
.v-card-item .delivery-selector .radio {
    width: 16px;
    height: 16px;
}
.v-card-item .delivery-selector .radio:before {
    width: 8px;
    height: 8px;
    left: calc(50% - 4px);
    top: calc(50% - 4px)
}
/*корзина end*/




/*оформление заказа*/
.v-order-wrapper.disabled,
.v-order-wrapper.disabled * {
    pointer-events: none;
}
.v-order-wrapper .title {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    color: var(--black-color);
    margin-bottom: 24px;
}
.v-order-wrapper .form-section {
    margin-bottom: 48px;
    background: white;
    border-radius: 12px;
}
.v-order-wrapper .form-item {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(39, 38, 43, 0.1);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}
.v-order-wrapper .form-item input[type="text"],
.v-order-wrapper .form-item input[type="tel"],
.v-order-wrapper .form-item input[type="email"],
.v-order-wrapper .form-item textarea{
    flex: 1;
}
.v-order-wrapper .form-item:last-child:not(.with-border){
    border: none;
}
.v-order-wrapper .form-item.total-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 24px;
    border: none;
}
.v-order-wrapper .form-item.total-item div:nth-of-type(even) {
    text-align: right;
}
.v-order-wrapper .form-item.total-item .total {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    color: var(--black-color);
}
.form-label {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #A9A8AA;
}
.form-label.error {
    color: var(--red-color);
}
.form-label.error[data-error]:after {
    content: " - " attr(data-error);
    font-size: 14px;
    font-weight: 400;
}
.v-order-wrapper .input{
    border: none;
    background: none;
    color: var(--black-color);
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    width: initial!important;
    height: initial!important;
    padding: 0!important;
    margin: 0!important;
    outline: none!important;
}
.v-order-wrapper textarea.input {
    width: 100% !important;
    height: 144px!important;
    resize: none;
    text-align: left;
}
.form-label.w100 {
    width: 100%;
    /*margin-bottom: 24px;*/
}
.radio-input {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #27262B;
    width: 30%;
}
.radio-input.w50 {
    width: 48%;
}
.v-order-wrapper  .radio-input.w50:nth-of-type(1),
.v-order-wrapper  .radio-input.w50:nth-of-type(2) {
    /*margin-bottom: 24px;*/
}
.radio-input .radio {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid rgba(39, 38, 43, 0.5);
    border-radius: 100px;
    position: relative;
    /*margin-right: 12px;*/
}
.radio-input .radio:before {
    position: absolute;
    width: 12px;
    height: 12px;
    left: calc(50% - 6px);
    top: calc(50% - 6px);
    opacity: 0;
    background: #0F3D74;
    transition: .3s ease-out;
    content: '';
    display: block;
    border-radius: 100%;
}
.radio-input.active .radio:before {
    opacity: 1;
}
.v-order-wrapper .v-send-btn {
    background: var(--blue-color);
    position: fixed;
    bottom: 90px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    color: white;
    cursor: pointer;
    transition: .3s ease-out;
}
.v-order-wrapper .v-send-btn.disabled {
    pointer-events: none;
    background: var(--black-color);
    opacity: .5;
}
.payOrderWrapper {
    padding: 0px 16px 25px 16px;
}
.payOrder {
    width: 100%;
}
#amoRequestsList .item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-color);
    cursor: pointer;
    border-radius: 12px;
    font-size: 14px;
}
#amoRequestsList .item b {
    font-size: 12px;
}
/*оформление заказа end*/




/*форма авторизации*/
.v-auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.v-auth-wrapper .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
}
.v-auth-wrapper .logo img {
    display: block;
    width: 80px;
    margin-bottom: 19px;
}
.v-auth-wrapper .logo .text {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    text-align: center;
    color: #242623;
}
.v-auth-wrapper .title {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 110%;
    color: #242623;
    margin-bottom: 48px;
    text-align: center;
}
.v-auth-wrapper form,
.v-auth-wrapper .form{
    width: 100%;
    max-width: 500px;
}
.v-auth-wrapper .v-btn {
    width: 100%;
    margin-top: 44px;
}
/*форма авторизации end*/



.pageTitle {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 110%;
    color: #242623;
    margin-bottom: 24px;
}


/*заявки*/
.v-requests-page .filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.v-requests-page .filter .item {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    color: #27262B;
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid rgba(39, 38, 43, 0.2);
    transition: .3s ease-out;
}
.v-requests-page .filter .item.active {
    background: white;
}
.v-request-card {
    width: 100%;
    padding: 18px 12px 18px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: white;
    margin-bottom: 16px;
    border-radius: 12px;
}
.v-request-card .status {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    margin-right: 16px;
    background: rgba(44, 178, 78, 1);
}
.v-request-card.completed .status {
    background: rgba(120, 135, 176, 1);
}
.v-request-card.atWork .status {
    background: rgb(255, 103, 0);
}
.v-request-card.blocked .status {
    background: #ccc;
}
.v-request-card .name {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #242623;
    margin-right: 16px;
}
.v-request-card .fio {
    margin-left: auto;
}
.v-request-card.completed * {
    color: #242623;
}

.v-request-detail .item-wrapper {
    background: white;
    border-radius: 12px;
    margin-bottom: 48px;
}
.v-request-detail .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(39, 38, 43, 0.1);
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #27262B;
    padding: 25px 16px;
}
.v-request-detail .item .name {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #A9A8AA;
}
.v-request-detail .item .value {
    text-align: right;
}
.v-request-detail .comment  {
    min-height: 160px;
    padding: 25px 16px;
}
.v-request-detail .item:last-child {
    border: none;
}
/*заявки end*/



.offline {
    position: fixed;
    bottom: 50%;
    right: 24px;
    z-index: 10;
    width: 40px;
    height: 40px;
}
.offline svg {
    width: 100%;
    height: 100%;
    object-fit: contain;

}
.offline path {
    fill: var(--red-color);
}



/*order-result*/
.order-result {
    width: 100%;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.order-result .qr {
    width: 256px;
    height: 256px;
    margin-bottom: 72px;
}
.order-result .title {
    text-align: center;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 140%;
    color: #242623;
    margin-bottom: 18px;
}
.order-result .text {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #27262B;
    margin-bottom: 36px;
}
.order-result .v-btn {
    min-width: 400px;
    margin-bottom: 80px;
}
.order-result .buttons {
    width: 100%;
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1px;
    position: fixed;
    bottom: 90px;
    right: 0;
}
.order-result .buttons .item {
    display: flex;
    background: var(--blue-color);
    min-width: 0px;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 16px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    height: 80px;
}
/*order-result*/



/*sort filter*/
.sort-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.filter-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: white;
}
.filter-wrapper .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--beige-color);
    font-size: 22px;
    height: 70px;
    flex-shrink: 0;
}
.filter-wrapper .filter {
    flex: 1;
    background: white;
    padding-top: 32px;
    padding-bottom: 32px;
    overflow: auto;
}
.filter-wrapper .bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 70px;
}
.filter-wrapper .cancel,
.filter-wrapper .apply {
    display: flex;
    min-width: 0px;
    align-items: center;
    justify-content: center;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: #27262B;
    background: rgba(39, 38, 43, 0.1);
}
.filter-wrapper .apply {
    color: white;
    background: var(--blue-color);
}
.filter-wrapper .title {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #242623;
    margin-bottom: 24px;
}
.filter-item {
    margin-bottom: 24px;
}
.filter-item .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}
.filter-item .grid > * {
    min-width: 0px;
}
.filter-item .checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #242623;
}
.filter-item .checkbox-item .checkbox {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(39, 38, 43, 0.2);
    border-radius: 3px;
    flex-shrink: 0;
    transition: .3s ease-out;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-item .checkbox-item .checkbox .icon {
    opacity: 0;
    transition: .3s ease-out;
}
.filter-item .checkbox-item.checked .checkbox {
    background: var(--beige-color);
}
.filter-item .checkbox-item.checked .checkbox .icon {
    opacity: 1;
}
/*sort filter end*/



/*range slider*/

.custom-slider {
    --trackHeight: 6px;
    --thumbRadius: 1rem;
}

/* style the input element with type "range" */
.custom-slider input[type="range"] {
    position: relative;
    appearance: none;
    background: none;
    border-radius: 999px;
    z-index: 0;
    height: 100%;
    pointer-events: none;
}

/* ::before element to replace the slider track */
.custom-slider input[type="range"]::before {
    content: "";
    display: block;
    position: absolute;
    width: var(--ProgressPercent, 100%);
    height: 100%;
    background: var(--blue-color);
    border-radius: 999px;
}

/* `::-webkit-slider-runnable-track` targets the track (background) of a range slider in chrome and safari browsers. */
.custom-slider input[type="range"]::-webkit-slider-runnable-track {
    appearance: none;
    background:  rgba(15, 61, 116, 0.5);
    height: var(--trackHeight);
    border-radius: 999px;
}

.custom-slider input[type="range"]::-webkit-slider-thumb {
    position: relative;
    width: 32px;
    height: 32px;
    margin-top: -14px;
    background: white;
    border: 4px solid var(--blue-color);
    border-radius: 999px;
    pointer-events: all;
    appearance: none;
    z-index: 1;
}

/* `::-moz-range-track` targets the track (background) of a range slider in Mozilla Firefox. */
.custom-slider.default input[type="range"]::-moz-range-track {
    appearance: none;
    background: var(--blue-color);
    height: var(--trackHeight);
    border-radius: 999px;
}

.custom-slider input[type="range"]::-moz-range-thumb {
    position: relative;
    box-sizing: border-box;
    width: var(--thumbRadius);
    height: var(--thumbRadius);
    margin-top: calc((var(--trackHeight) - var(--thumbRadius)) / 2);
    background: rgba(15, 61, 116, 0.5);
    border: 1px solid  rgba(15, 61, 116, 0.5);
    border-radius: 999px;
    pointer-events: all;
    appearance: none;
    z-index: 1;
}

.custom-slider.minmax {
    position: relative;
    height: var(--trackHeight);
    background: rgba(15, 61, 116, 0.5);
    border-radius: 999px;
    margin: 0.5rem 0;
    --progressLeft: 0%;
    --progressRight: 0%;
}

.custom-slider .minmax-indicator {
    position: absolute;
    height: 100%;
    pointer-events: none;
    left: var(--thumbRadius);
    right: var(--thumbRadius);
}

.custom-slider .minmax-indicator::before {
    content: "";
    position: absolute;
    background:  rgba(15, 61, 116, 0.5);
    height: 100%;
    left: var(--progressLeft);
    right: var(--progressRight);
}

.custom-slider.minmax input[type="range"] {
    position: absolute;
    width: calc(100% - var(--thumbRadius));
}

.custom-slider.minmax input[type="range"][name="max"] {
    left: var(--thumbRadius);
}

.custom-slider.minmax input[type="range"]::-webkit-slider-runnable-track {
    background: none;
}

.custom-slider.minmax input[type="range"]::before {
    display: none;
}

.minmax-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.minmax-inputs .input-wrapper {
    width: 100%;
    min-width: 0px;
    height: 50px;
    background: white;
    padding: 10px 10px 10px 15px;
    border: 1px solid #E7E6E2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.minmax-inputs .input-wrapper span {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    color: #242623;
}
.minmax-inputs input {
    height: 100%;
    border: none;
    background: none;
    outline: none;
    padding: 0;
    margin: 0;
    width: initial;
}
/*range slider end*/




/*pagination*/
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 20px 0;
}

.pagination-button {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    /*border: 1px solid #ddd;*/
    background: #fff;
    color: var(--black-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button:hover:not(:disabled) {
    background: rgba(39, 38, 43, 0.1);
}

.pagination-button.active {
    background: var(--blue-color);
    color: white;
    /*border-color: #42b983;*/
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-button.dots {
    cursor: default;
}

.pagination-button.first,
.pagination-button.last {
    min-width: 60px;
}

@media (max-width: 600px) {
    .pagination-button.first,
    .pagination-button.last {
        display: none;
    }
}
/*pagination end*/


/*sort*/
.sort-wrapper {
    position: relative;
}
.sort-wrapper .selected {
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 150%;
    text-transform: uppercase;
    color: #27262B;
}
.sort-wrapper .selected .icon {
    transition: .3s ease-out;
}
.sort-wrapper .selected.asc .icon {
    transform: rotate(-180deg);
}
.sort-wrapper .options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: white;
    transition: .3s ease-out;
    border-radius: 8px;
    overflow: hidden;
    /*visibility: hidden;*/
    /*opacity: 0;*/
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.sort-filter-wrapper.open .options {
    opacity: 1;
    visibility: visible;
}
.sort-wrapper .item {
    transition: .3s ease-out;
    padding: 12px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 150%;
    text-transform: uppercase;
    color: #27262B;
    border-bottom: 1px solid rgba(233, 233, 234, 1);
}
.sort-wrapper .item:last-child {
    border-bottom: none;
}
.sort-wrapper .item.active {
    background: var(--blue-color);
    color: white;
}
/*sort end*/


/*search*/
.search-input-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 90px;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99;
    padding-left: 12px;
    padding-right: 12px;
}
.search-input-wrapper input {
    flex: 1;
    margin: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-color);
    border-radius: 0px;
    padding-left: 0;
    padding-bottom: 12px;
    height: initial;
}
.search-input-wrapper .search-find {
    background: var(--black-color);
    color: white;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
}
/*search end*/



/*sku*/
.sku-props {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.sku-prop {
    transition: .3s ease-out;
    padding: 10px 16px;
    border: 1px solid rgba(39, 38, 43, 0.2);
    border-radius: 6px;
    color: var(--black-color);
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 150%;
}
.sku-prop.selected {
    background: white;
}
.sku-prop.disabled {
    opacity: .5;
    pointer-events: none;
    background: red;
}
/*sku end*/




/*orders*/
.orders-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.orders-filters .search-input {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--beige-color);
    background: white;
    margin-right: auto;
}
.orders-filters .search-input .icon {

}
.orders-filters .search-input input {
    border: none;
    background: none;
    flex: 1;
    padding: 0;
    height: 100%;
    margin: 0;
}
.orders-filters .v-btn {
    height: 40px;
    min-height: 40px;
    background: transparent;
    color: var(--black-color);
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(39, 38, 43, 0.2);


}
.orders-filters .v-btn.active {
    background: var(--blue-color);
    color: white;
    border-color: var(--blue-color);
}

.order-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}
.order-link:hover {
    text-decoration: underline;
}
.OrderCard {
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.OrderCard .info {
    width: 70%;
}
.OrderCard .price {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}
.OrderCard .name {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #242623;
    margin-bottom: 12px;
}
.OrderCard .deceased {
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 120%;
    color: #242623;
    margin-bottom: 12px;
}
.OrderCard .statuses {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.OrderCard .status {
    padding: 6px 10px;
    border: 1px solid #7887B0;
    border-radius: 5px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #7887B0;
}
.OrderCard .status.new {}
.OrderCard .status.finish {
    color: rgba(44, 178, 78, 1);
    border-color: rgba(44, 178, 78, 1);
}
.OrderCard .status.cancel {
    color: var(--red-color);
    border-color: var(--red-color);
}
.OrderCard .status.payed {
    color: rgba(44, 178, 78, 1);
    border-color: rgba(44, 178, 78, 1);
}
.OrderCard .status.equipment {
    color: rgba(38, 116, 210, 1);
    border-color: rgba(38, 116, 210, 1);
}
.v-order-actions {
    position: fixed;
    bottom: 90px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: .3s ease-out;
}
.v-order-actions .cancel,
.v-order-actions .save{
    width: 50%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v-order-actions .cancel {
    background: white;
    color: var(--black-color);
}
.v-order-actions .save {
    background: var(--blue-color);
    color: white;
}
/*orders end*/

/*order detail*/
.orderDetailWrapper {
    width: 100%;
}
.orderDetailComposition {
    margin-bottom: 30px;
}
.orderDetailPayResult  .buttons {
    grid-template-columns: 1fr;
}
.orderDetailPayResult  .buttons .item  {
    width: 100%;
}
/*order detail end*/






/*услуги*/
.service-categories .item {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 16px;
    margin-bottom: 12px;
    padding: 16px 12px 20px 16px ;
    align-items: center;
}
.service-list .item {

}
/*услуги end*/




.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.list-item {
    transition: all 0.5s ease;
}
.list-enter-from,
.list-leave-to {
    opacity: 0;
    transform: translateX(30px);
}
.list-leave-active {
    position: absolute; /* Важно для плавного перемещения других элементов */
}

.updateProductsNotify {
    width: 100%;
    background: #f1f1f1;
    padding: 1rem;
    position: fixed;
    bottom: 90px;
}

.form-item {
    position: relative;
}
.form-item .suggest {
    padding: 1rem;
    background: white;
    box-shadow: 1px 1px 16px rgba(0,0,0,.15);
    position: absolute;
    top: 80%;
    right: 0;
    z-index: 2;
    transition: .3s ease-out;
    opacity: 0;
    visibility: hidden;
}
.form-item input:focus + .suggest {
    opacity: 1;
    visibility: visible;
}
select {
    padding: .5rem;
    max-width: 320px;
}

/* Product Selector Modal Styles */
.product-selector-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0px 2px 20px #3f3f3fc7;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.modal-header-search {
    padding: 20px 20px 0 20px;
    position: relative;
}
.modal-header-search input {
    margin: 0;
    height: 40px;
    padding-right: 40px;
}
.modal-header-search .close-btn {
    position: absolute;
    top: calc(50% + 13px);
    right: 25px;
    transform: translateY(-50%);
    background: none!important;
}
.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 4px;
    border-radius: 4px;
}

.close-btn:hover {
    background: #f5f5f5;
}

.modal-navigation {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.main-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.tab {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-size: 14px;
}

.tab:hover {
    border-color: var(--primary-color);
}

.tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.subcategories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.subcategory-chip {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.subcategory-chip:hover {
    background: #e5e5e5;
}

.subcategory-chip.active {
    background: var(--primary-color);
    color: white;
}

.subcategory-chip.all {
    font-weight: 500;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--beige-color)
}

/* Modal product list - grid layout */
.modal-product-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
    gap: 16px !important;
}

.modal-product-list > div {
    margin-bottom: 0 !important;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.product-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 120px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    margin-bottom: 8px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-article {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    justify-content: center;
}

.select-variants-btn, .add-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.select-variants-btn {
    background: var(--primary-color);
    color: white;
}

.add-btn {
    background: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-variants-btn:hover, .add-btn:hover {
    opacity: 0.8;
}

.no-products, .select-category {
    text-align: center;
    padding: 40px;
    color: #666;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-info {
    font-weight: 500;
    color: #666;
}

.footer-actions {
    display: flex;
    gap: 12px;
}

.cancel-btn, .confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.cancel-btn {
    background: #f5f5f5;
    color: #666;
}

.cancel-btn:hover {
    background: #e5e5e5;
}

.confirm-btn {
    background: var(--primary-color);
    color: white;
}

.confirm-btn:hover:not(:disabled) {
    opacity: 0.8;
}

.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Variant Selector Modal */
.variant-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.variant-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
}

.variant-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-header h4 {
    margin: 0;
    font-size: 18px;
}

.variant-body {
    padding: 20px;
    overflow-y: auto;
}

.variant-body .product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.variant-body .product-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.variant-body .product-info h5 {
    margin: 0;
    font-size: 16px;
    flex: 1;
}

/* Add Products Button */
.add-products-section {
    padding: 0 20px 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.add-products-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.add-products-btn:hover {
    opacity: 0.8;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .product-selector-modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 95vh;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .product-image {
        height: 100px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .footer-actions {
        justify-content: space-between;
    }
}

/* Product Selector Modal - Updated Styles */

.modal-product-card {
    /* Товары в модалке отображаются так же как в основном списке - в строчку */
    margin-bottom: 0;
    transition: transform 0.1s;
}

.modal-product-card:hover {
    transform: none; /* Убираем лишние эффекты */
}

/* Переопределяем стили для карточек в модалке чтобы они выглядели как основные */
.modal-product-card .v-product-list-card {
    /* Используем те же стили что и для основных карточек */
    display: grid;
    grid-template-columns: 140px 3fr 1fr auto;
    grid-gap: 32px;
    margin-bottom: 0; /* Убираем margin так как он есть у родителя */
    background: white;
    border-radius: 12px;
    padding:10px 20px;
    min-height: 90px;
    width: 100%;
    align-items: center;
    border: 1px solid #eee;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.modal-product-card:hover .v-product-list-card {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Сохраняем специальные стили кнопок для модалки */
.modal-product-card .v-product-list-card .modal-select {
    background: var(--primary-color) !important;
    color: white !important;
}

.modal-product-card .v-product-list-card .modal-add {
    color: white !important;
}

.temp-cart-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

/* Product Detail Content */
.product-detail-content {
    max-width: 600px;
    max-height: 90vh;
}

.product-detail-body {
    max-height: calc(90vh - 140px);
    overflow-y: auto;
    background: var(--beige-color);
}

.product-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.product-image-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-main-info {
    flex: 1;
}

.product-article {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.product-price-large {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.detail-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.add-to-temp-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
}

.add-to-temp-cart-btn:hover {
    opacity: 0.8;
}

/* Mobile responsiveness for updated modal */
@media (max-width: 768px) {
    .modal-product-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .product-preview {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image-large {
        width: 100px;
        height: 100px;
    }

    .product-detail-content {
        max-width: 95vw;
    }
}

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.product-detail-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-detail-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-detail-header h4 {
    margin: 0;
    font-size: 18px;
}

.product-detail-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Modal Product Detail Styles */
.modal-product-preview {
    /* Используем тот же layout что и в основной детальной карточке */
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-product-image {
    /* Размеры как у thumbnail в основной детальной карточке */
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.modal-product-info {
    flex: 1;
}

.modal-product-info h4 {
    /* Используем стили как у .product-name в основной детальной карточке */
    margin: 0 0 16px 0;
    font-size: 22px;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: var(--black-color);
}

.modal-product-article {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.modal-product-price {
    /* Используем стили как у цены в основной детальной карточке */
    font-family: 'SF UI Text';
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 120%;
    color: var(--black-color);
}

.modal-product-actions {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.modal-add-to-order-btn {
    /* Используем стили как у основных кнопок */
    background: var(--blue-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
    font-size: 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'SF UI Text';
    font-style: normal;
    line-height: 150%;
}



/* Старые стили для modal product list удалены - теперь используем стили основного списка */

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .product-detail-modal {
        padding: 10px;
    }

    .product-detail-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-product-preview {
        /* На мобилке оставляем горизонтальный layout как в основной версии */
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
        text-align: left;
    }

    .modal-product-image {
        /* Уменьшаем размер изображения на мобилке */
        width: 100px;
        height: 100px;
    }

    .modal-product-info h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .modal-product-price {
        font-size: 20px;
    }

    /* Стили для списка товаров на мобилке - оставляем основной grid */

    .modal-product-card .v-product-list-card .img {
        width: 100px;
        height: 100px;
    }

    .modal-product-card .v-product-list-card .name {
        font-size: 14px;
        line-height: 1.3;
    }

    .modal-product-card .v-product-list-card .article {
        font-size: 12px;
    }

    .modal-product-card .v-product-list-card .price {
        font-size: 14px;
        font-weight: bold;
    }

    .modal-product-card .v-product-list-card .v-btn {
        min-width: 100px;
        height: 36px;
        font-size: 13px;
        padding: 8px 12px;
    }
}

.modal-add-to-order-btn:hover {
    opacity: 0.8;
}

/* Стили для VariantSelector в модалке - используем те же что и в основном компоненте */
.product-detail-body .sku-wrapper {
    margin-bottom: 32px;
}

.product-detail-body .title {
    margin-bottom: 22px;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: var(--black-color);
}

/* Стили для гамбургер меню каталога */
.catalog-selector {
    width: 100%;
}

.catalog-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.catalog-btn:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
}

.hamburger-icon {
    flex-shrink: 0;
    color: #6c757d;
}

.catalog-label {
    font-weight: 500;
    color: #495057;
}

.selected-category {
    flex: 1;
    color: #6c757d;
    font-size: 14px;
    text-align: right;
}

/* Боковое меню каталога */
.catalog-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.catalog-menu {
    background: white;
    width: 50vw;
    max-width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.catalog-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.catalog-menu-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.catalog-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Дерево категорий */
.category-tree {
    padding: 0;
}

.category-item {
    border-bottom: 1px solid #f1f1f1;
}

.category-row {
    display: flex;
    align-items: center;
    padding: 0;
    background: white;
    transition: background 0.2s;
}

.category-row:hover {
    background: #f8f9fa;
}

.expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    color: #6c757d;
    transition: transform 0.2s;
    background: #f8f9fa;
}

.expand-btn svg.rotated {
    transform: rotate(90deg);
}

.expand-placeholder {
    width: 55px;
    height: 48px;
}

.category-name {
    flex: 1;
    padding: 12px 16px 12px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.category-name:hover {
    color: var(--primary-color);
}

.subcategories {
    margin-left: 20px;
    border-left: 1px solid #e9ecef;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .catalog-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* Стили для отображения версии приложения */
.app-version-info {
    margin-top: 30px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

.version-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.version-label {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
}

.version-label::before {
    content: "🔖";
    margin-right: 8px;
    font-size: 18px;
}

.version-value {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #28a745;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.version-value.loading {
    color: #6c757d;
    border-color: #6c757d;
    background: #f8f9fa;
}

.loading-dots {
    animation: loading-pulse 1.5s infinite;
    font-size: 12px;
    letter-spacing: 2px;
}

@keyframes loading-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* Уведомление об обновлении */
.update-notification {
    background: linear-gradient(135deg, #e4191e 0%, #ff4757 100%);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(228, 25, 30, 0.3);
}
.request-notification {
    max-width: 340px;
    position: fixed;
    top: 10%;
    right: 20px;
    z-index: 99;
    opacity: .5;
}


.update-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
}

.update-icon {
    font-size: 20px;
    animation: pulse-scale 2s infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.update-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.update-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.update-btn.primary {
    background: #ffffff;
    color: #e4191e;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.update-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.update-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.update-btn.secondary:hover:not(:disabled) {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.update-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Статус "Актуальная версия" */
.status-ok {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
    margin-top: 15px;
    font-weight: 600;
}

.status-icon {
    font-size: 18px;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .version-block {
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
    }

    .version-value {
        min-width: 120px;
    }

    .app-version-info {
        margin-top: 20px;
        padding: 15px;
    }

    .update-actions {
        flex-direction: column;
    }

    .update-btn {
        width: 100%;
    }

    .update-message {
        text-align: center;
        justify-content: center;
    }

    .status-ok {
        text-align: center;
        justify-content: center;
    }
}

/* ⚡ ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ ВВОДА ⚡ */
/* Убираем все transitions для полей ввода для мгновенного отклика */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea {
    transition: none !important;
}

/* Специально для форм заказа - максимальная производительность */
.v-order-wrapper input[type="text"],
.v-order-wrapper input[type="tel"],
.v-order-wrapper input[type="email"],
.v-order-wrapper textarea {
    transition: none !important;
    will-change: auto !important; /* Отключаем GPU acceleration для экономии ресурсов */
}

/* Убираем transitions при фокусе для мгновенного отклика */
input:focus,
textarea:focus {
    transition: none !important;
    animation: none !important;
}

/* Оптимизация для планшетов - убираем лишние эффекты */
@media (pointer: coarse) {
    input, textarea, select {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}


.form-item.source-item .radio-input {
    width: 22%;
}
.form-item.source-item .radio-input.disabled {
    pointer-events: none;
    opacity: .5;
}

/* Стили для недоступных товаров в корзине */
.v-card-item.unavailable {
    opacity: 0.6 !important;
    background-color: #ffebee !important;
    border: 2px solid #f44336 !important;
    border-radius: 8px !important;
    position: relative;
}

.v-card-item.unavailable::before {
    content: "НЕДОСТУПЕН";
    position: absolute;
    top: 5px;
    right: 5px;
    background: #f44336;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

.unavailable-img {
    filter: grayscale(100%);
}

.unavailable-name {
    color: #666 !important;
    text-decoration: none !important;
    cursor: default;
}

.unavailable-notice {
    color: #d32f2f;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.unavailable-delivery {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
}

.unavailable-delivery .form-label {
    color: #d32f2f;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}
.custom-checkbox input[type="checkbox"] + label,
.custom-checkbox .label{
    position: relative;
    cursor: pointer;
    color: var(--beige-color);
}

.custom-checkbox input[type="checkbox"] + label,
.custom-checkbox .label{
    padding: 0 0 0 60px;
}
.custom-checkbox  input[type="checkbox"] + label:before ,
.custom-checkbox  .label:before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background: var(--red-color);
    box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
.custom-checkbox input[type="checkbox"] + label:after,
.custom-checkbox  .label:after{
    content: '';
    position: absolute;
    top: -1px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    transition: .2s;
}

.custom-checkbox input[type="checkbox"]:checked + label:before,
.custom-checkbox.checked .label:before{
    background: var(--green-color);
}

.custom-checkbox input[type="checkbox"]:checked + label:after,
.custom-checkbox.checked .label:after{
    left: 27px;
}


.v-rating__mode-controls,
.v-rating__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.v-rating__mode-controls {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-color);
}

.v-rating__controls {
    margin-bottom: 24px;
}
.v-rating__mode-controls .v-rating__btn,
.v-rating__controls .v-rating__btn {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    color: var(--black-color);
    transition: .3s ease-out;
    padding: 10px 14px;
    font-weight: 500;
    cursor: pointer;
}
.v-rating__mode-controls .v-rating__btn.v-rating__btn--active,
.v-rating__controls .v-rating__btn.v-rating__btn--active {
    background: var(--red-color);
    border-color: var(--red-color);
    color: white;
}

.v-rating__list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.v-rating__chart-mode {
    margin-top: 16px;
}



.v-rating__chart-wrapper {
    height: 420px;
    padding: 16px;
    border: 1px solid var(--gray-color);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.v-rating__user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--gray-color);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.v-rating__user--top {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.v-rating__user--top-1 {
    border-color: #f0c44f;
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.98) 0%, rgba(255, 237, 166, 0.72) 100%);
}

.v-rating__user--top-2 {
    border-color: #cfd6dd;
    background: linear-gradient(135deg, rgba(250, 251, 252, 0.98) 0%, rgba(223, 229, 235, 0.82) 100%);
}

.v-rating__user--top-3 {
    border-color: #c78652;
    background: linear-gradient(135deg, rgba(252, 241, 231, 0.98) 0%, rgba(233, 191, 156, 0.8) 100%);
}

.v-rating__user--current {
    border-color: var(--green-color);
    background: rgba(38, 166, 91, 0.08);
}

.v-rating__user--outside-top {
    margin-top: 8px;
    position: relative;
    padding-top: 22px;
}

.v-rating__user-place {
    width: 56px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--red-color);
    text-align: center;
}

.v-rating__user-place-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.v-rating__user-cup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 22px;
    border-radius: 50%;
    background: #fff7cc;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.v-rating__user-cup--gold {
    background: linear-gradient(180deg, #fff2a6 0%, #f4c542 100%);
}

.v-rating__user-cup--silver {
    background: linear-gradient(180deg, #f5f7fa 0%, #cfd6dd 100%);
}

.v-rating__user-cup--bronze {
    background: linear-gradient(180deg, #f6d3b6 0%, #c78652 100%);
}

.v-rating__user-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 20px;
    border-radius: 50%;
    background: #f3f3f3;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.v-rating__user-medal--fourth {
    background: linear-gradient(180deg, #dff3ff 0%, #8fc3e8 100%);
}

.v-rating__user-medal--fifth {
    background: linear-gradient(180deg, #efe7ff 0%, #b49be8 100%);
}

.v-rating__user-place-number {
    font-size: 13px;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1;
}

.v-rating__user-info {
    flex: 1;
    min-width: 0;
}

.v-rating__user-label {
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--green-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.v-rating__user-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(38, 166, 91, 0.12);
    color: var(--green-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.v-rating__user-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--black-color);
}

.v-rating__user-number {
    margin-top: 4px;
    font-size: 13px;
    color: #7c7c7c;
}

.v-rating__user-sum {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 700;
    color: var(--red-color);
}

.v-rating__user--current .v-rating__user-place,
.v-rating__user--current .v-rating__user-sum {
    color: var(--green-color);
}

@media (max-width: 767px) {
    .v-rating__chart-wrapper {
        height: 360px;
        padding: 12px;
    }

    .v-rating__user {
        align-items: flex-start;
        gap: 12px;
    }

    .v-rating__user--outside-top {
        padding-top: 26px;
    }

    .v-rating__user-label {
        left: 12px;
    }

    .v-rating__user-sum {
        font-size: 16px;
    }
}

.v-rating {
    padding: 24px 0;
}

.change-view-buttons {
    display: none;
}


#orders {
    max-height: 80vh;
    overflow: auto;
}
#orders::-webkit-scrollbar {
    width: 15px;
}

.order-mini-card {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--gray-color);
    margin-bottom: 12px;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
}
.order-mini-card .name {
    font-size: 12px;
    color: var(--blue-color);
}
.order-mini-card .value {
    font-size: 14px;
    font-weight: bold;
    color: var(--green-color);
}

@media (min-width: 1080px) {
    .change-view-buttons {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-left: auto;
        margin-right: 16px;
    }
    .change-view-btn.active {
        color: var(--red-color);
    }
    .v-product-list-pagination {
        margin-top: 16px;
    }
    .v-product-list.grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        align-items: stretch;
    }

    .v-product-list.grid .v-product-card-wrapper {
        min-width: 0;
        height: 100%;
    }
    .v-product-list.grid .v-product-card-wrapper > * {
        height: 100%;
    }
    .v-product-list.grid .v-product-list-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        grid-template-columns: none;
        height: 100%;
        min-height: 100%;
        margin: 0;
    }
    .v-product-list.grid .v-product-list-card .img {
        width: 180px;
        max-width: 100%;
        height: 180px;
    }
    .v-product-list.grid .v-product-list-card > :not(.img) {
        width: 100%;
        text-align: center;
    }
    .v-product-list.grid .v-product-list-card .price {
        margin-top: auto;
        text-align: center;
    }
    .v-product-list.grid .v-product-list-card .v-btn {
        justify-content: center;
        width: 100%;
        min-width: 0;
    }
    .v-sections-links {
        flex-wrap: wrap;
        gap: 12px;
    }
    .v-sections-links .item {
        margin: 0;
    }
}
