:root {
    --gradient-1: linear-gradient(to bottom, #090808, #1A1A1A);
    --gradient-2: linear-gradient(45deg, #336391, #63C7E2);
    --color-1: #63C7E2;
    --color-2: #336391;
    --color-3: #cbcbcb;
    --color-4: #f5f5f5;
    --color-5: #121212;
    --color-6: #131313;
    --color-7: #242424;
    --color-8: #181818;
    --radius: 15px;
}

* {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--color-3);
}

/* Стиль для всієї області прокрутки */
::-webkit-scrollbar {
    width: 5px;       /* вертикальна */
    height: 5px;      /* горизонтальна */
}

/* Фон скролбару */
::-webkit-scrollbar-track {
    background: var(--color-5);
    border-radius: 0px;
}

/* Сам повзунок (scroll thumb) */
::-webkit-scrollbar-thumb {
    background: #7e7e7e;
    border-radius: 2.5px;
}

body {
    background: var(--gradient-1);
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
}

.lang-changer {
    height: 30px;
    width: 40px;
    border-radius: 15px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lang-changer .langs {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transform: translateY(100%);
    background-color: rgba(255,255,255,0.1);
}

.lang-changer .langs a {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-changer:hover {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.lang-changer:hover .langs {
    display: flex;
}

.popup-bg {
    background-color: rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 12;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-wrapper {
    display: flex;
    justify-content: center;
}

.popup {
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    width: 100%;
    max-width: 350px;
}

.popup > div {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.popup > div.remove-order-popup.hide {
    display: none;
}

.popup > div > strong {
    color: var(--color-4);
    font-size: 1.2rem;
}

.popup > div.success-block,
.popup > div.error-block {
    display: none;
    padding: 30px 0;
}

.popup > div.success-block strong,
.popup > div.error-block strong {
    text-align: center;
}

.popup > div.success-block.active,
.popup > div.error-block.active {
    display: flex;
}

.popup .buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrap {
    max-width: 1170px;
    margin: auto;
    padding: 15px;
}

.mb {
    display: none;
}

.db {
    display: block;
}

p {
    line-height: 1.5rem;
}

button {
    background: none;
    cursor: pointer;
    border: none;
}

input, textarea, .fake-input {
    outline: none;
    border: none;
    background-color: var(--color-8);
    height: 48px;
    border-radius: var(--radius);
    padding: 0 20px;
    border: 1px solid var(--color-7);
}

textarea {
    height: auto;
    padding: 15px 20px;
}

.fake-selector {
    position: relative;
}

.fake-selector .fake-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 180px;
    cursor: pointer;
}

.fake-selector > ul {
    position: absolute;
    background-color: var(--color-8);
    padding: 20px;
    min-width: calc(100% - 40px);
    border-radius: var(--radius);
    transform: translateY(100%);
    bottom: -5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    z-index: 4;
    display: flex;
    flex-direction: column;
    display: none;
}

.fake-selector .ws {
    position: absolute;
    background-color: var(--color-8);
    border-radius: var(--radius);
    transform: translateY(100%);
    bottom: -5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    z-index: 1;
    display: flex;
    flex-direction: column;
    display: none;
    left: 0;
    right: 0;
}

.fake-selector .ws input {
    all: unset;
    background-color: var(--color-7);
    padding: 0 20px;
    height: 40px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.fake-selector .ws svg {
    height: 36px;
    align-self: center;
    margin-bottom: 20px;
    display: none;
}

.fake-selector .ws svg.active {
    display: block;
}

.fake-selector .ws ul {
    padding: 0 20px 5px 20px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    max-height: 250px;
    overflow: auto;
}

.fake-selector ul:before {
    content: "";
    position: absolute;
    display: block;
    top: -5px;
    height: 5px;
    left: 0;
    right: 0;
}

/* .fake-selector:hover ul,
.fake-selector:hover .ws {
    display: flex;
} */

.fake-selector .ws.active,
.fake-selector ul.active {
    display: flex;
}

.fake-selector ul li:not(:first-child) {
    border-top: 1px solid var(--color-7);
}

.fake-selector ul li {
    padding: 8px 0;
    cursor: pointer;
}

.fake-checkbox label {
    cursor: pointer;
    height: 100%;
    width: 100%;
    display: block;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fake-checkbox label input {
    display: none;
}

.fake-checkbox label input:checked + div svg {
    display: block;
}

.fake-checkbox div {
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    box-sizing: border-box;
    background-color: var(--color-8);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-7)
}

.fake-checkbox div svg {
    display: none;
    height: 20px;
    width: 20px;
    stroke: var(--color-1);
}



.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group span[data-error] {
    font-size: 0.9rem;
    margin-top: 5px;
    color: indianred;
    display: none;
}

.form-group span[data-error].active {
    display: block;
}

.btn {
    height: 50px;
    padding: 0 30px;
    display: inline-block;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    text-transform: uppercase;
    color: var(--color-5);
    font-weight: 700;
}

.btn svg {
    stroke: var(--color-3);
    height: 1.3rem;
}

.btn.v1 {
    background: var(--gradient-2);
}

.btn.v2 {
    border: 2px solid var(--color-2);
    color: var(--color-2);
}

.btn.v3 {
    height: auto;
    padding: 0;
    border-radius: 0;
    color: var(--color-3);
}

.btn.v4 {
    border: 2px solid var(--color-7);
    color: var(--color-3);
}

.btn.v5 {
    background-color: var(--color-6);
    color: var(--color-3);
}

.btn.v6 {
    background-color: var(--color-7);
    color: var(--color-3);
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 0.8rem;
}



a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

.main-menu {
    display: flex;
    gap: 30px;
    flex: 1;
}

.main-menu .cats-menu li:last-child {
    margin-top: 15px;
}

.main-menu .cats-menu li:last-child a {
    color: var(--color-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-menu .cats-menu li:last-child a > .s {
    height: 0.65rem;
    display: block;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a,
.main-menu > li > span {
    color: var(--color-4);
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

.main-menu > li ul {
    padding: 20px;
    background-color: var(--color-6);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius);
    left: -20px;
    bottom: -10px;
    transform: translateY(100%);
    display: none;
}

.main-menu > li ul:before {
    content: "";
    position: absolute;

    display: block;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: 1;
}

.main-menu > li:hover ul {
    display: flex;
}

.main-menu > li ul li {
    white-space: nowrap;
}

.su {
    display: flex;
    gap: 24px;
    align-items: center;
}

.su button {
    background: none;
}

.su svg {
    height: 22px;
    display: block;
    stroke: var(--color-3);
}

.shopcart-block {
    display: flex;
    gap: 15px;
    align-items: center;
    cursor: pointer;
}

.shopcart-block span {
    display: block;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
}

.shopcart-block svg {
    height: 30px;
}

.upc {
    text-transform: uppercase;
}

.main-menu a {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-3);
    font-size: 0.9rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(15px);
}

header .to-signup {
    background: var(--gradient-2);
    text-align: center;
    padding: 5px 15px;
}

header .to-signup a {
    color: var(--color-6);
    font-weight: 600;
}

header .wrap {
    padding-top: 20px;
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
}

header .wrap .b1 {
    display: flex;
    gap: 22px;
    align-items: center;
}

header .logo img {
    height: 34px;
    display: block;
}

header hr {
    height: 30px;
    border: none;
    width: 1px;
    background-color: #2f2f2f;
}

header .mm-btn {
    display: none;
}

header .mm-btn svg {
    pointer-events: none;
}

.search-form {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px) grayscale(1);
}

.search-form.active {
    display: flex;
}

.search-form > div {
    display: flex;
    background-color: var(--color-5);
    border-radius: var(--radius);
    width: 100%;
    max-width: 450px;
}

.search-form .close-search {
    position: absolute;
    top: 30px;
    right: 30px;
}
.search-form .close-search svg {
    height: 30px;
    stroke: var(--color-3);
}

.search-form div  button {
    padding: 0 20px;
}

.search-form div button svg {
    height: 100%;
    height: 20px;
    stroke: var(--color-3);
}

.search-form input {
    all: unset;
    padding: 0 20px;
    height: 50px;
    flex: 1;
}

.main-menu-mobile {
    position: fixed;
    background: var(--gradient-1);
    z-index: 9999999900;
    top: 0;
    left: 0;
    right: 0;
    height: 100svh;
    display: none;
}

.main-menu-mobile.active {
    display: block;
}

.main-menu-mobile .close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 24px;
    width: 24px;
}

.main-menu-mobile .close-menu svg {
    stroke: var(--color-4);
}

.main-menu-mobile ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-menu-mobile li {
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main-menu-mobile li > ul {
    display: none;
}

.breadcrumbs {
    align-self: center;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;

}

.breadcrumbs ul {
    display: flex;
    gap: 5px;
    align-items: center;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.breadcrumbs ul::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.breadcrumbs ul span,
.breadcrumbs ul a {
    font-size: 0.9rem;
    display: block;
    white-space: nowrap;
}

.breadcrumbs ul li {
    display: flex;
    gap: 5px;
}

.breadcrumbs ul svg {
    height: 16px;
    display: block;
    stroke: var(--color-2);
}

.breadcrumbs ul li:first-child a svg {

}

.breadcrumbs ul span {
    color: var(--color-4);
}

.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 50px;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    height: 30px;
    min-width: 30px;
    background-color: var(--color-7);
    font-weight: 700;
}

.pagination li svg {
    stroke: var(--color-3);
    height: 24px;
}

.pagination li a.active {
    background: var(--gradient-2);
    color: var(--color-5);
}

.flash {
    align-self: center;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
}

.flash .success {
    background-color: rgba(0, 255, 0, 0.1);
    padding: 20px 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: var(--radius);
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 130px;
}

.filter .close-filter {
    display: none;
}

.filter .close-filter svg {
    height: 24px;
    width: 24px;
    display: block;
    stroke: var(--color-4);
    position: absolute;
    top: 15px;
    right: 15px;
}

.filter > ul {
    display: flex;
    flex-direction: column;
}

.filter > ul > li:not(:first-child) {
    border-top: 1px solid var(--color-7);
    /* margin-top: 15px; */
}

.filter > ul > li span {
    display: block;
    padding: 15px 0;
    font-weight: 600;
    color: var(--color-4);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
}

.filter > ul > li span svg {
    height: 20px;
    width: 20px;
    stroke: var(--color-3);
    transition: transform 0.3s;
}

.filter > ul > li ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    margin-left: 20px;
    margin-bottom: 30px;
}

.filter > ul > li.active ul {
    display: flex;
}

.filter > ul > li.active span svg {
    transform: rotate(45deg);
}

.filter .panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
}

footer {
    background-color: var(--color-5);
}

footer .copy {
    text-align: center;
    background-color: var(--color-5);
    padding: 15px;
}

footer .copy span {
    font-size: 0.8rem;
}

footer .wrap {
    display: flex;
    padding: 30px 15px;
    gap: 30px
}

footer .wrap div {
    flex: 1;
}

footer .wrap div span {
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    color: var(--color-4);
}

footer .wrap img {
    height: 34px;
}

footer .wrap div ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

footer .wrap div ul li {
    display: flex;
    flex-direction: column;
    gap: 5px;
    white-space: nowrap;
}

footer .wrap div ul.contacts {
    gap: 28px;
}

footer .wrap div ul.social {
    flex-direction: row;
    gap: 15px;
}

footer .wrap .payment {
    flex-direction: row;
}

footer .wrap .payment svg {
    height: 22px;
}

footer .wrap div ul.social {
    flex: 1;
}

footer .wrap div ul.social svg {
    height: 22px;
}

footer .wrap div ul p {
    font-weight: 600;
}

footer .wrap > div:last-child {
    display: flex;
    flex-direction: column
}

footer .wrap > div:not(:first-child) {
    border-left: 1px solid #212121;
    padding-left: 30px
}

footer .wrap div a {
    color: var(--color-3);
    display: block;
}

.mobile-cats svg, .mobile-info svg {
    display: inline-block;
    height: 15px;
}

.mobile-info svg {
    display: none;
}

.mobile-cats ul li:last-child {
    margin-top: 15px;
}

.mobile-cats ul li:last-child a {
    color: var(--color-2);
    font-weight: 600;
    text-transform: uppercase;
}

footer .mobile-cats {
    display: none;
}

.main-slider {
    background-color: #141414;
    border-radius: var(--radius);
    height: 700px;
    width: 90vw;
    align-self: center;
    overflow: hidden;
    position: relative;
}

.main-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s;
}

.main-slider .slide.active {
    z-index: 1;
    opacity: 1;
}

.main-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.main-slider ul {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    gap: 10px;
}

.main-slider ul li {
    height: 12px;
    width: 12px;
    border-radius: 4px;
    background-color: var(--color-4);
}

.main-slider button {
    position: absolute;
    height: 100%;
    width: 100px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.main-slider button svg {
    height: 10px;
}

.main-slider button[data-prev] svg {
    transform: rotate(180deg);
}

.main-slider button[data-next] {
    right: 0;
}

.main-slider ul li.active {
    background-color: var(--color-1);
}

.cb .top {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.cb .top h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: var(--color-4);
}

.cb ul {
    display: flex;
    gap: 20px;
}

.cb ul a {
    color: var(--color);
    font-weight: 600;
}

.cb .top > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cb .top > div:nth-child(2) > a {
    font-weight: 600;
    color: var(--color-2);
    font-size: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
    /* height: 100%; */
    white-space: nowrap;
}

.cb .top > div:nth-child(2) > a svg {
    height: 0.7rem;
}

.cb .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cb.cats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.cb.cats .container > div {
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 250px;
    position: relative;
}

.cb.cats .container > div a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.cb.cats .container > div:hover img {
    opacity: 1;
}

.cb.cats .container > div:hover .head {
    padding: 20px 20px 100px 20px;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.6), transparent);
}



.cb.cats .container div .head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.4), transparent);
    z-index: 1;
    transition: padding 0.5s;
}

.cb.cats .container div .head p {
    color: var(--color-4);
    font-weight: 600;
}

.cb.cats .container div .head span {
    font-size: 0.9rem;
}

.cb.cats .container div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
    opacity: 0.4;
    transition: opacity 0.5s;
}

.cb.cats .container div:nth-child(1) {
    grid-row: 1 / 3;
    max-height: inherit;
}

.cb.cats .container div:nth-child(2) {
    grid-column: 2 / 4;
}

.cb.cats .container div:nth-child(5) {
    grid-column: 3 / 5;
}

.page.main .cat-tabs .cat-tab-btn {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.page.main .cat-tabs .cat-tab-btn.active {
    color: var(--color-1);
}

.page.main .cat-tabs .container {
    display: none;
}

.page.main .cat-tabs .container.active {
    display: grid;
}


.item {
    position: relative;
    display: flex;
    flex-direction: column;
    /* z-index: 1; */
    transition: z-index 0.3s;
    background-color: var(--color-6);
    border-radius: var(--radius);
    transition: box-shadow 0.2s, height 0.2s;
}

.item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.label-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.label-container span.p_label {
    padding: 4px 8px;
    background-color: var(--color-7);
    z-index: 3;
    font-size: 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.label-container span.p_label.new {
    color: var(--color-2);
}

.label-container span.p_label.hit {
    color: orange;
}

.item .w {
    position: relative;
    z-index: 1;
}



.item .info {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.item .item-wrapper {
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    /* background-color: var(--color-6);
    border-radius: var(--radius);
    transition: box-shadow 0.2s, height 0.2s; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
}

.item .buttons {
    display: none;
}

.item .buttons .btn {
    width: 100%;
    margin: 0;
    padding: 15px 0;
    box-sizing: border-box;
}

.item .info .price {
    display: flex;
    justify-content: space-between;
}

.item .info a {
    display: none;
    height: 40px;
}

.item .info .price span:nth-child(2) {
    color: var(--color-1);
    font-weight: 600;
}

.item .info p {
    font-weight: 600;
    color: var(--color-4);
}

.item .image {
    aspect-ratio: 1 / 1;
    position: relative;
}

.item .image img {
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(20deg);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}

.item .image:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 65%;
    width: 65%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: #191919;
}

.item:hover {
    z-index: 5;
    overflow: visible;
}

.item:hover .item-wrapper {
    box-shadow: 0 0 15px rgba(51, 99, 145, 0.2);
    z-index: 2;
}


.variations {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.variations strong {
    margin-bottom: 5px;
    display: block;
}

.variations a {
    border: none;
    background-color: var(--color-7);
    color: var(--color-4);
    padding: 5px 10px;
    border-radius: 5px;
}

.variations a.active {
    border: 1px solid var(--color-2);
}

.variations a.no-available {
    opacity: 0.3;
    /* pointer-events: none; */
}

.variations .items {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page {
    align-self: center;
    flex: 1;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page .top h1 {
    font-size: 2rem;
    color: var(--color-4);
}

.page.product .b1 {
    padding: 30px;
    background-color: var(--color-6);
    border-radius: var(--radius);
    display: flex;
    gap: 50px;
}

/* .page.product .b1 > div {
    flex: 1;
} */

.page.product h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-4)
}

.page.product .article {
    font-size: 0.8rem;
    background-color: var(--color-7);
    padding: 5px 10px;
    align-self: flex-start;
    border-radius: 5px;
}

.page.product .price {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.page.product .price strong {
    font-size: 1.3rem;
    color: var(--color-4);
}

.page.product .price strong.old {
    font-size: 1rem;
    opacity: 0.6;
    text-decoration: line-through;
    text-decoration-color: red;
}

.page.product .price .available {
    font-size: 0.9rem;
    color: forestgreen;
}

.page.product .price .available.no {
    color: var(--color-3);
}

.page.product .b1 > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.page.product .panel {
    display: flex;
    align-items: center;
    gap: 30px
}

.product .label-container {
    top: 0;
    right: 0;
    left: auto;
    align-items: flex-end;
}

.count {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.count div {
    background-color: var(--color-7);
    display: flex;
    border-radius: 5px;
    overflow: hidden;
}

.count div input {
    width: 40px;
    text-align: center;
    height: 26px;
    background: none;
    padding: 0;
    border-radius: 0;
}

.count button {
    padding: 0 10px;
    width: 30px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

[data-tabs="categories"] .tab {

}

.page.product .b2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab {
    max-width: 800px;
    display: none;
}



.page.product .b2 .tab.active {
    display: block;
}

.page.product .b2 .tab:nth-child(2) {
    text-align: justify;
}

.page.product .b2 .tab > ul {
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.page.product .b2 .tab > ul li {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.page.product .b2 .tab > ul li span {
    display: block;
}

.page.product .b2 .tab > ul li span:nth-child(2) {
    max-width: 300px;
}

.page.product .b2 .tab > ul li span:nth-child(1) {
    font-weight: 600;
    color: var(--color-4);
}

.page.product .tab-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.page.product .tab-buttons button {
    color: var(--color-4);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.page.product .tab-buttons button.active {
   /* background: var(--gradient-2);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600; */
    color: var(--color-2);

}

.page.product .tab-buttons button.active svg {

}

.page.product .slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.slider .counter {
    display: none;
    gap: 5px;
    justify-content: center;
}

.slider .counter li {
    height: 7px;
    width: 7px;
    display: block;
    border-radius: 50%;
    background-color: var(--color-3);
}

.slider .counter li.active {
    background-color: var(--color-2);
}

.page.product .slider button svg {
    display: block;
    height: 30px;
    stroke: var(--color-2);
}

.page.product .slider .main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

.page.product .slider .main .slides {
    width: 100%;
    position: relative;
    display: flex;
    align-self: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}



.page.product .slider .main .slides div {
    width: 100%;
    display: flex;
    position: absolute;
    transition: opacity 0.5s;
    opacity: 0;
    aspect-ratio: 1 / 1;
    align-items: center;
}

.page.product .slider .main img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page.product .slider .main .slides div.active {
    opacity: 1;
}

.page.product .slider .previews {
    display: flex;
    gap: 30px;
}

.page.product .slider .previews .container {
    overflow: hidden;
}

.page.product .slider .previews .container .slides {
    display: grid;
    grid-auto-columns: calc(100% / 4 - 15px + (15px / 4));
    grid-auto-flow: column;
    gap: 15px;
    transition: transform 0.5s;
    transform: translateX(0px);
}

.page.product .slider .previews .slides div {
    border: 2px solid var(--color-7);
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.page.product .slider .previews .container div.active {
    border-color: var(--color-2);
}

.page.product .slider .previews .container img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}


.page.catalog .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.page.catalog .filter-btn {
    display: none;
}

.page.catalog .middle {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page.catalog .middle .filter {
    flex: 1;
    max-width: 277.5px;
}

.page.catalog .filter .fake-checkbox div {
    height: 22px;
    width: 22px;
    border-radius: 4px;
}

.page.catalog .middle .items {
    flex: 3;
}

.page.catalog .middle .items .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page.catalog.search .middle .items .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.page.catalog .middle .items .bottom {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.page.service-page {
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.page.service-page svg {
    margin-bottom: 15px;
}

.page.service-page span {
    font-size: 7rem;
    font-weight: 700;
}

.page.service-page button {
    margin-top: 35px;
}

.page.service-page h2 {
    color: var(--color-4);
    font-size: 1.2rem;
}

.page.service-page p {
    text-align: center;
}

.page.contacts .middle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: baseline;
}

.page.contacts .social {
    display: flex;
    flex-direction: row;
    gap: 10px;
    fill: var(--color-3);
}

.page.contacts .social svg {
    height: 30px;
}

.page.contacts .middle > div,
.page.contacts .middle form {
    flex: 1;
}

.page.contacts .middle form {
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page.contacts .middle form .form-group-wrap {
    flex-direction: row;
    display: flex;
    gap: 15px;
}

.page.contacts .middle form p {
    margin-bottom: 15px;
}

.page.contacts .middle form button {
    align-self: flex-start;
}

.page.contacts .middle form .form-group-wrap > div {
    flex: 1;
}

.page.contacts .left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
}

.page.contacts .left strong {
    display: block;
    margin-bottom: 15px
}

.page.contacts .left ul:not(.social) {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page.contacts .left > div:nth-child(2n+1) {
    padding: 0 30px 30px 0;
    border-right: 1px solid var(--color-8);
}

.page.contacts .left > div:nth-child(2n+1):not(:first-child) {
    padding: 30px 30px 30px 0;
    border-top: 1px solid var(--color-8);
    border-right: 1px solid var(--color-8);
}

.page.contacts strong {
    color: var(--color-4);
}

.page.contacts .left > div:nth-child(2) {
    padding: 0 0 30px 30px;
}

.page.contacts .left > div:nth-child(4) {
    padding: 30px 0 30px 30px;
    border-top: 1px solid var(--color-8);
}

.page.signin .top {
    text-align: center;
}

.page.signin form {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: center;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
}

.page.signin form .fake-checkbox {
    margin-top: 15px;
}

.page.signin form .fake-checkbox label {
    align-items: flex-start;
}

.page.signin form .fake-checkbox p a {
    display: inline-block;
    color: var(--color-1);
}

.page.signin form .btn.v1 {
    margin: 15px 0;
}

.page.signin form .buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page.shopcart .middle {
    display: flex;
}

.page.shopcart .middle ul {
    flex: 3;
}

.shopcart-info div {
    display: flex;
    justify-content: space-between;
}

.shopcart-info div span {
    font-weight: 600;
}

.page.shopcart .middle {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.page.shopcart .middle > div .btn.v3 {
    margin-top: 15px;
}

.shopcart-info {
    position: sticky;
    top: 130px;
    flex: 1;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shopcart-info hr {
    height: 1px;
    margin: 15px 0;
    border: none;
    background-color: var(--color-7);
}

.shopcart-info strong {
    color: var(--color-4);
}

.page.shopcart ul li {
    display: flex;
    gap: 30px;
}

.page.shopcart ul li .image {
    flex: 1;
}

.page.shopcart ul li .image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.page.shopcart ul li .price {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.page.shopcart ul li .price span {
    font-weight: 600;
    color: var(--color-1);
    display: block;
    margin-bottom: 3px;
}

.page.shopcart ul li > div {
    flex: 4;
}

.page.shopcart ul li {
    padding: 20px 0;
}

.page.shopcart ul li:not(:first-child) {
    border-top: 1px solid var(--color-8);
}

.page.shopcart ul li > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.page.shopcart ul li > div:last-child h2 {
    text-transform: uppercase;
    color: var(--color-4);
}

.page.shopcart ul .top {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.page.shopcart ul .top svg {
    height: 18px;
    stroke: var(--color-3)
}

.page.shopcart .count {
    align-self: flex-start
}

.page.shopcart .variations {
    margin: 0;
    display: flex;
    flex-direction: row;
}

.page.shopcart .variations div {
    display: flex;
    flex-direction: column;
}

.page.shopcart .variations div strong {
    color: var(--color-4);
}

.page.shopcart .variations div strong,
.page.shopcart .variations div span {
    font-size: 0.9rem;
}

.page.payment-delivery h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--color-4);
}

.page.payment-delivery .b1 {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page.payment-delivery .b1 div {
    flex: 1;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
}

.page.order .middle {
    display: grid;
    grid-template-columns: 2fr 5fr 3fr;
    gap: 30px;
    align-items: flex-start;
}
.page.order .middle > div {
    flex: 1;
}

.page.order .middle form {
    flex: 2;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page.order .middle form .fake-checkbox {
    margin-top: 15px;
}

.page.order .middle form .fake-selector {
    display: flex;
    flex-direction: column;
}

form strong {
    text-transform: uppercase;
    color: var(--color-4);
    font-size: 1.2rem;
}

form hr {
    border: none;
    height: 1px;
    background-color: var(--color-7);
    margin: 15px 0;
}

.page.rules .top {
    text-align: center;
}

.page.rules .b1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page.rules .b1 > a {
    margin-top: 30px;
}

.page.rules .b1 .text {
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page.rules .b1 .text h2 {
    font-size: 1.2rem;
    color: var(--color-4);
    text-transform: uppercase;
    text-align: center;
}

.cabinet-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
    align-self: center;
}

.cabinet-menu div {
    display: flex;
    gap: 10px;
}

.page.cabinet.shopcart .shopcart-info .buttons {
    display: flex;
    flex-direction: row;
}

.page.cabinet.shopcart .shopcart-info .buttons .btn.v3 {
    margin-top: 0;
}

.page.cabinet.shopcart .shopcart-info .buttons .btn.v3:first-child {
    color: var(--color-1);
}

.page.cabinet.shopcart .adres {
    flex-direction: column;
    gap: 5px;
}

.page.cabinet.shopcart .adres span {
    color: var(--color-3);
}

.page.my-orders .orders {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page.my-orders .orders li {
    display: flex;
    justify-content: space-between;
}

.page.my-orders .orders li:not(:first-child) {
    border-top: 1px solid var(--color-8);
    padding-top: 15px;
}

.page.my-orders .orders li > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page.my-orders .orders li .buttons {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.page.my-orders .orders li .buttons svg {
    height: 20px;
    width: 20px;
    display: block;
    stroke: var(--color-3);
}

.page.my-orders .orders strong {
    color: var(--color-4);
}

.page.my-orders .orders li > div:last-child {
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.order-status {
    padding: 4px 8px;
    background-color: var(--color-7);
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

.order-status.new {
    color: #3498db;
}
.order-status.processing {
    color: #9b59b6;
}
.order-status.shipped {
    color: #1abc9c;
}
.order-status.delivered {
    color: #27ae60;
}
.order-status.completed {
    color: #455462;
}
.order-status.cancelled {
    color: #e74c3c;
}
.order-status.returned {
    color: #95a5a6;
}

.page.user .info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page.user .info .avatar input[type="file"] {
    display: none;
}

.page.user .info .avatar {
    position: relative;
    width: 200px;
    aspect-ratio: 1 / 1;
    background-color: var(--color-8);
    border-radius: 50%;
    overflow: hidden;
}

.page.user .info .avatar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.page.user .info .avatar span {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-8);
    opacity: 0.7;
}

.page.user .info .avatar button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.page.user .info .avatar button svg {
    height: 24px;
    stroke: indianred;
    pointer-events: none;
}

.page.user .info .avatar:hover span,
.page.user .info .avatar:hover button {
    z-index: 1;
}

.page.user .info .avatar span svg {
    stroke: var(--color-3);
    height: 50px;
}

.page.user .info .avatar label {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.page.user .info .data {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page.user .info .data ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page.user .info .data ul li strong {
    color: var(--color-4);
    margin-bottom: 5px;
    display: block;
}

.page.user .info .data ul li span {
    display: block;
}

.page.user .info .buttons {
    display: flex;
    gap: 15px;
}

.page.user .adreses {
    display: flex;
    flex-direction: column;
}

.page.user .adreses li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.page.user .adreses li .addr {
    display: flex;
    flex-direction: column;
}

.page.user .adreses li:not(:first-child) {
    border-top: 1px solid var(--color-7);
}

.page.user .adreses li .buttons {
    display: flex;
    gap: 20px;
}

.page.user .adreses li .buttons svg {
    height: 20px;
    stroke: var(--color-3);
}

.page.user h2 {
    color: var(--color-4);
}

.page.user .middle {
    display: flex;
    flex-direction: column;
}

.page.user .adreses li > div {
    display: flex;
    gap: 50px;
    align-items: center;
}

.page.user .status {
    font-weight: 600;
    color: var(--color-1);
}

.page.about .b2 {
    display: flex;
    gap: 30px;
}

.page.about .b1 {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.page.about .b1 img {
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
}

.page.about .b2 div {
    flex: 1;
}

.page.about img {
    opacity: 0.3;
}

.page.about .b2 img {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: var(--radius);
}

.page.about .b2 div:last-child {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page.about .b2 h2 {
    font-size: 1.5rem;
    color: var(--color-4);
    text-transform: uppercase;
}

.page.about .blocks {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.page.about .blocks .block {
    display: flex;
    gap: 30px;
}

.page.about .blocks .block:nth-child(2n+1) div:first-child {
    order: 2;
}

.page.about .blocks .block:nth-child(1) div:first-child {
    order: -1;
    max-height: 250px;
}

.page.about .blocks .block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    max-height: 300px;
}

.page.about .blocks .block h2 {
    font-size: 2rem;
}

.page.about .blocks .block div {
    flex: 1;
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.page.about .blocks .block div:first-child {
    overflow: hidden;
    border-radius: var(--radius);
}

.page.about .blocks .block:nth-child(1) {
    flex-direction: column;
}



.page.categories .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page.address form {
    align-self: center;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--color-6);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page.address form button {
    margin-top: 30px;
}

.cat-item {
    position: relative;
    background-color: var(--color-6);
    border-radius: var(--radius);
    overflow: hidden;
}

.cat-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cat-item .w {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-6));
}

.cat-item .info {
    padding: 0 30px 30px 30px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.cat-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.cat-item h2 {
    text-align: center;
}

/* Стили для формы подписки на уведомления о наличии */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-7);
}

.popup-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-3);
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: var(--color-7);
}

.popup-content {
    margin-bottom: 20px;
}

.popup-content p {
    margin-bottom: 15px;
    color: var(--color-3);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-7);
    border-radius: var(--radius);
    background-color: var(--color-6);
    color: var(--color-3);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--color-1);
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
}

.popup-actions {
    display: flex;
    justify-content: center;
}

.popup-content.success {
    text-align: center;
}

.success-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.success-icon::before {
    content: "✓";
}

.btn.v2 {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn.v2:hover {
    opacity: 0.9;
}

.btn.v2:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}