* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-optical-sizing: auto;
    font-style: normal;
    max-width: 100%;

    font-size: 16px;
    text-decoration: none;
    color: #2c2c2c;

    --black: #2c2c2c;
    --white: #fff;
    --gray: #eeecea;
    --dark-gray: #7b7b7b;
    --red: #c20000;

    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    -webkit-tap-highlight-color: transparent;
    outline: none;
}
form.js-form {
    all: revert;
}
h1, h2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
}
h2 {
    font-size: 32px;
    font-weight: 600;
}
h3 {
    font-size: 24px;
    font-weight: 500;
}
h4 {
    font-size: 18px;
    font-weight: 600;
}
.webkit-box {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
    height: 44px;
}
.strong {
    font-weight: 600;
}
.allow-copy {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
}
.flex {
    display: flex;
    align-items: center;
}


.btn-1 {
    width: 38px;
    height: 38px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--black);
    padding: 2px;
    transition: all linear 0.15s;
}
.btn-1:hover {
    background-color: rgb(234, 234, 234);
}
button img {
    width: 100%;
    height: 100%;
}
.select-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    border: 1px solid var(--black);
    gap: 20px;
    cursor: pointer;
    position: relative;
}
.select-1 select {
    -webkit-appearance: none;
    -moz-appearance: none;     
    appearance: none; 
    background: none;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.selected-text {
    color: var(--black);
    pointer-events: none;
    padding: 0 20px;
}
.select-1 .color {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 1px solid var(--black);
}
.counter {
    width: auto;
    height: auto;
    border: 1px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.view-card .d1 .d2:last-child form:first-child button.btn-counter {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    color: #2c2c2c;
}
.counter button.btn-counter {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
}
input {
    border: none;
    border-bottom: 1px solid var(--black);
    padding: 5px 8px;
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;     
    appearance: none;
}
.check {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px;
}
.check .check-button {
    position: relative;
    width: 30px;
    border: 1px solid var(--black);
    height: 30px;
}
.check .check-button img {
    position: absolute;
    top: 2px;
    left: 2px;
}
.check input {
    padding: 0px;
    opacity: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}


header {
    position: sticky;
    top: 0;
    padding-left: max((100% - 1500px) / 2, 25px);
    padding-right: max((100% - 1500px) / 2, 25px);
    width: 100vw;
    height: 70px;
    border-bottom: 1px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background-color: var(--white);
}
header img.logo {
    height: 70%;
    aspect-ratio: 1/1;
}
header .d1 {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}
header .d1 a {
    font-weight: 600;
    font-size: 18px;
}
header .d1 a img {
    width: 32px;
    height: 32px;
}

header.mobile {
    width: 100vw;
    height: 100dvh;
    position: fixed;
    top: -150%;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    display: none;
}
header.mobile img.header-close {
    position: absolute;
    width: 35px;
    height: 35px;
    top: 10px;
    right: 10px;
    transform: rotate(45deg);
}
header.mobile .d1 {
    flex-direction: column;
    width: auto;
    height: auto;
    gap: 4px;
}
.mobile-header-button {
    display: none;
    width: 100vw;
    height: 70px;
    position: sticky;
    top: 0;
}
.mobile-header-button button {
    border-radius: 50%;
    border: none;
    background: none;
}
.mobile-header-button button:hover {
    background: none;
}

/* catalog */
section.back {
    padding-left: max((100% - 1500px) / 2, 25px);
    padding-right: max((100% - 1500px) / 2, 25px);
    width: 100vw;
    min-height: 100dvh;
}
.catalog {
    display: flex;
    justify-content: center;
    gap: 25px;
}
.catalog .d1 {
    height: max-content;
    padding: 20px;
}
.catalog .d1 .header-text {
    display: flex;
    justify-content: space-between;
}
.catalog .d1 .header-text button {
    width: auto;
    padding: 0 20px;
}
.catalog .d1:last-child {
    flex: 1;
    border-left: 1px solid var(--black);
    padding: 20px 40px;
}
.catalog .d1 .list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.catalog .category {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.catalog .category .list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
}
.catalog .category .list a {
    font-size: 18px;
}

.catalog .catalog-card {
    display: grid;
    grid-template-columns: repeat(4, 270px);
    gap: 20px;
    margin-top: 20px;
}
.catalog .catalog-card .card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    background-color: var(--gray);
    position: relative;
}
.catalog .catalog-card .card .product-setting {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.catalog .catalog-card .card .product-setting button {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.catalog .catalog-card .card .product-setting form {
    width: 30px;
    height: 30px;
}
.catalog .catalog-card .card .b1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.catalog .catalog-card .card .image {
    aspect-ratio: 1/1;
    background-color: var(--gray);
}
.catalog .catalog-card .card .b1 img {
    width: 100%;
    height: 100%;
}
.catalog .catalog-card .card .b1:last-child {
    padding: 20px 15px;
}
.catalog .catalog-card .card .b1 .price-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Card */
.view-card {
    padding: 20px 0;
    width: 100%;
    padding-left: max((100% - 900px) / 2, 25px);
    padding-right: max((100% - 900px) / 2, 25px);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    justify-content: center;
}
.view-card .d1 {
    width: 100%;
}
.view-card .d1 .image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--gray);
}
.view-card .d1 .image {
    width: 100%;
    height: 100%;
}
.view-card .d1 .image img {
    width: 100%;
    height: 100%;
}
.view-card .info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.view-card .info button {
    height: 55px;
}
.view-card .info .d2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.view-card .d1 .d2 .select-1 {
    width: 100%;
    height: 55px;
}
.view-card .d1 .d2 .color {
    width: 100%;
    height: 55px;
    border: 1px solid var(--black);
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.view-card .d1 .d2 .color .color-item {
    height: 100%;
    aspect-ratio: 1/1;
    border: 1px solid var(--black);
}
.view-card .d1 .d2 .color img {
    width: 28px;
    height: 28px;
}


.view-card .d1 .d2 .size {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.view-card .d1 .d2 .size button {
    width: 50px;
    height: 50px;
    border-radius: 0px;
}
.view-card .d1 .d2 .size button.active {
    color: #7b7b7b;
    border: 1px solid #7b7b7b;
}
.view-card .d1 .d2 .size button.active:hover {
    background-color: transparent;
}

.view-card .d1 .d2:last-child {
    width: 100%;
    flex-direction: row;
    gap: 15px;
}

.view-card .d1 .d2:last-child button.like {
    width: 55px;
    height: 55px;
    padding: 10px;
    border-radius: 0px;
}
.view-card .d1 .d2:last-child form:first-child {
    flex: 1;
}
.view-card .d1 .d2:last-child form:first-child button {
    width: 100%;
    color: #7b7b7b;
    border: 1px solid #7b7b7b;
    background: transparent;
}
.reviews {
    grid-template-columns: 2fr 1fr;
}
.reviews .d1 {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 10px;
}
.reviews .desc {
    display: flex;
    height: max-content;
    gap: 10px;
    border-bottom: 1px solid var(--black);
    flex-direction: column;
}
.reviews .review {
    max-width: 600px;
    padding: 20px;
    border: 1px solid var(--black);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.reviews .review form.button-delete {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
.reviews .review button.delete {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
}
.reviews .review .d2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.reviews .your-reviews {
    border: none;
    border-bottom: 1px solid var(--black);
    border-top: 1px solid var(--black);
}
.reviews .your-reviews textarea {
    width: 100%;
    resize: none;
    padding: 8px;
}
.reviews .your-reviews .stars img {
    cursor: pointer;
}
.reviews .your-reviews .d2:last-child {
    position: relative;
    flex-direction: column;
}
.reviews .your-reviews button {
    width: 100%;
    height: 45px;
}
.reviews .your-reviews .counter-word {
    position: absolute;
    top: -15px;
    right: 4px;
    font-size: 14px;
}


/* basket */
.cart {
    padding-left: max((100% - 1100px) / 2, 25px);
    padding-right: max((100% - 1100px) / 2, 25px);
    min-height: 100dvh;
}
.cart .d1 {
    display: flex;
    flex-direction: column;
}
.cart h2 {
    padding: 20px 0;
    border-bottom: 1px solid var(--black);
}
.cart .cart-items {
    width: 100%;
    height: 220px;
    border-bottom: 1px solid var(--black);
    padding: 15px;
    display: flex;
    gap: 15px;
}
.cart .cart-items .d2 {
    height: 100%;
}
.cart .cart-items .d2:nth-child(2) {
    padding: 10px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart .cart-items .d2:nth-child(2) form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart .cart-items .d2:nth-child(2) form .btn-2 {
    width: auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart .cart-items .d2:nth-child(2) form .btn-3 {
    padding: 5px;
}
.cart .cart-items .d2:nth-child(2) form .btn-2 img {
    width: 22px;
    transform: rotate(-45deg);
}
.cart .cart-items .d2:nth-child(3) {
    padding: 10px 0;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}
.cart .cart-items .image {
    width: auto;
    height: 100%;
    aspect-ratio: 1/1.3;
}
.cart .cart-items .image img {
    width: 100%;
    height: 100%;
}
.cart .cart-items .d2 .webkit-box {
    height: 41px;
}
.cart .order-confirm {
    width: 100%;
    padding: 15px;
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.cart .order-confirm .line {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart .order-confirm .line .btn-1 {
    width: 100%;
    height: 50px;
    border-radius: 0px;
}
.cart .order-confirm .inp {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.cart .order-confirm .inp h3 {
    margin-top: 10px;
}
.cart .order-confirm .inp input.contact {
    width: 100%;
}
.cart .order-confirm .inp .select-1 {
    width: 100%;
    height: 50px;
}
.cart .order-confirm .inp textarea {
    width: 100%;
    resize: none;
    padding: 10px;
}
.cart .order-confirm .inp .check img {
    display: none;
}
.cart .order-information {
    display: none;
}

/* order */
.order {
    padding-left: max((100% - 700px) / 2, 25px);
    padding-right: max((100% - 700px) / 2, 25px);
    display: flex;
    flex-direction: column;
}
.order h2 {
    padding: 20px 0;
    border-bottom: 1px solid var(--black);
}
.order .d1 {
    display: flex;
    flex-direction: column;
}
.order .d1 .items {
    width: 100%;
    min-height: 200px;
    border-bottom: 1px solid var(--black);
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 15px;
}
.order .d1 .items .d2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.order .d1 .items .d2 select {
    width: auto;
    padding: 0 10px;
}
.order .d1 .items .d2:nth-child(2) {
    flex: 1;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
.order .d1 .items .d2 .number {
    gap: 10px;
}
.order .d1 .items .d2 .number img {
    width: 30px;
    height: 30px;
}
.order .d1 .items .d2 .product {
    position: relative;
    width: 150px;
    height: 220px;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
}
.order .d1 .items .d2 .product .quantity {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
}
.order .d1 .items .d2 .product .d3:first-child {
    width: 100%;
    aspect-ratio: 1/1;
}
.order .d1 .items .d2 .product .d3 img {
    width: 100%;
    height: 100%;
    max-height: 154px;
}
.order .d1 .items .d2 .product .d3:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: space-between;
}
.order .d1 .items .d2 .product .d3 .webkit-box {
    -webkit-line-clamp: 1;
    height: auto;
}
.order .d1 .items .d2 .product .d3 .price {
    font-size: 14px;
}
.order .d1 .items .d2 button {
    padding: 0 10px;
    width: auto;
    border-radius: 0px;
}
.order .d1 .items .d2 .order-info {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.order .d1 .items .d2 .order-info p {
    font-size: 14px;
}

/* profile */
.profile {
    padding-left: max((100% - 800px) / 2, 25px);
    padding-right: max((100% - 800px) / 2, 25px);
    display: flex;
    flex-direction: column;
}
.profile h2 {
    padding: 20px 0;
    border-bottom: 1px solid var(--black);
}
.profile .d1 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.profile .d1:nth-child(3) {
    flex-direction: column;
}
.profile .d1 .image {
    width: 130px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 1px solid var(--black);
    padding: 30px;
}
.profile .d1 .image img {
    width: 100%;
    height: 100%;
}
.profile .d1 .input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.profile .d1 .input p {
    padding-left: 8px;
    font-size: 18px;
}
.profile .btn-block {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 5px;
}
.profile .d1 button.btn-1 {
    width: auto;
    padding: 0 10px;
    min-width: 120px;
}

/* favorite */
.favorite {
    padding-left: max((100% - 800px) / 2, 25px);
    padding-right: max((100% - 800px) / 2, 25px);
}
.favorite h2 {
    text-align: center;
}
.favorite .d1:last-child {
    border-left: none;
}
.favorite .d2 {
    justify-content: center;
}

/* auth */
.auth {
    padding-left: max((100% - 800px) / 2, 25px);
    padding-right: max((100% - 800px) / 2, 25px);
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.659);
}
.auth .auth-form {
    position: relative;
    width: 780px;
    height: 500px;
    display: flex;
    background-color: var(--white)  ;
}
.auth .auth-form .close-window {
    position: absolute;
    background: none;
    border-radius: 50%;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
    transform: rotate(-180deg);
}

.auth .auth-form .d1 {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.auth .auth-form .d1:last-child {
    padding: 20px;
}
.auth .auth-form .d1 img.form-image {
    width: 100%;
    height: 100%;
}
.auth .auth-form .d1 .d2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.auth .auth-form .d1 .d2 .input {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.auth .auth-form .d1 .d2 .input p {
    padding-left: 5px;
}
.auth .auth-form .d1 .d2 button {
    width: 100%;
    height: 50px;
}
.auth .auth-form .d1 .d2 .link {
    align-items: flex-end;
}
.auth .auth-form .d1 .d2 .link a {
    font-size: 14px;
}
.auth .auth-form .d1 .d2 .error {
    align-items: center;
}
.auth .auth-form .d1 .d2 .error p {
    color: var(--red);
    font-size: 14px;
}

/* product.store */
.product-store .d1 .image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-store .d1 .image img {
    width: 50px;
    aspect-ratio: 1/1;
}
.product-store .d1 .image input {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
    top: 0;
    left: 0;
}
.product-store .info .input {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.product-store .info .input input {
    width: 100%;
}
.product-store .info .input p {
    padding-left: 8px;
    font-size: 18px;
}
.product-store .info .d2 button.btn-2 {
    flex: 1;
}
.product-store .info .d2 button {
    width: 55px;
    padding: 11px;
}
.product-store .info .d2 button img {
    transform: rotate(45deg);
}
.product-store .info .input select {
    width: 100%;
    height: 55px;
    padding: 0 10px;
    cursor: pointer;
}


.product-store .ruler {
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-store .ruler .table {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--black);
    overflow-y: auto;
    max-height: 445px;
}
.product-store .ruler .table .tr:first-child {
    background-color: var(--gray);
    position: sticky;
    top: 0;
}
.product-store .ruler .table .tr {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid var(--black);
}
.product-store .ruler .table .tr:last-child {
    border: none;
}
.product-store .ruler .table .tr .td {
    width: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-store .ruler .table .tr .td:nth-child(2n) {
    border-left: 1px solid var(--black);
}
.product-store .ruler .table .tr .td input {
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
}
.product-store .ruler .d2 button {
    width: 100%;
    height: 55px;
}
.all-oreder-show {
    width: auto;
    padding: 0 20px;
    align-self: flex-end;
}
.order-info-mobile {
    width: 30px;
    height: 30px;
    display: none;
}
.order .d1 .items .d2 button.order-info-mobile-button {
    padding: 0px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
}
.order-info-block-mobile {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--black);
    width: 90%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-category {
    position: fixed;
    top: -170%;
    left: 0px;
    width: 100vw;
    height: calc(100dvh - 70px);
    background-color: var(--white);
    z-index: 9;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mobile-category .list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mobile-category .list a.active {
    color: rgb(118, 157, 39);
}
.catalog .category .list a.active {
    color: rgb(118, 157, 39);
}
.mobile-category img.close-category {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    transform: rotate(45deg);
}
.open-mobile-category {
    width: 35px;
    height: 35px;
    display: none;
}


/* paginate */
.pagination-container {
    padding: 20px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.pagination-container .pagination-links {
    display: flex;
    gap: 10px;
    color: var(--white-gray);
}
.pagination-container .pagination-links .page-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all linear 0.2s;
    font-size: 16px;
}
.pagination-container .pagination-links .active-link-paginate:hover {
    background-color: rgba(57, 57, 57, 0.1);
}
.pagination-container .pagination-links .active-link-paginate:active {
    transform: scale(1.05);
}
.pagination-container .pagination-links .on-page {
    color: var(--gray);
    border-color: var(--gray);
}
.mobile-price-counter {
    display: none;
}


footer {
    padding-left: max((100% - 1150px) / 2, 25px);
    padding-right: max((100% - 1150px) / 2, 25px);
    width: 100vw;
    min-height: 300px;
    background-color: var(--black);
    display: grid;
    grid-template-columns: 2fr 1fr;
}
footer .d1 {
    color: #fff;
    width: 100%;
    height: auto;
    padding: 60px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
footer .d1 div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
footer .d1 > *, footer .d1 a {
    color: var(--white);
}
footer .iframe {
    width: 100%;
    height: 300px;
}