html {
    box-sizing: border-box;
}

*,
*::backdrop,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat-medium'),
        url("../fonts/Montserrat-Medium.woff2") format("woff2"),
        url("../fonts/Montserrat-Medium.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: local('Montserrat-light'),
        url("../fonts/Montserrat-Light.woff2") format("woff2"),
        url("../fonts/Montserrat-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}


h1,
h2,
h3,
p,
address {
    margin: 0;
}

:root {
    --black: #020202;
    --silver: #7c7c80;
}

/* glob */
.list-reset {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.btn-reset {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

/* navbar-desktop */
.navbar-desktop {
    position: sticky;
    height: 60px;
    top: 0;
    z-index: 10;
    background-color: white;
    border: 2px solid rgb(244, 194, 194);
}

.nav-desktop__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-desktop__logo-link {
    display: flex;
    height: 55px;
    align-items: center;
    outline: none;
}

.navbar-desktop__logo-link img {
    height: 40px;
}

.navbar-desktop__list {
    display: flex;
    gap: 50px;
    align-items: center;
}

.navbar-desktop__item:not(:last-child) {
    height: 30px;
}

.navbar-desktop__item .item__link {
    outline: none;
    transition: color 0.3s ease-in-out;
}

.navbar-desktop__item .item__link svg {
    transition: color 0.3s ease-in-out;
}

.navbar-desktop__item .item__link,
.item__link svg {
    color: black;
}

.navbar-desktop__item .item__link:focus-visible svg {
    color: rgb(127, 127, 233);
}

.navbar-desktop__item .item__link:focus-visible {
    color: rgb(127, 127, 233);
}

.navbar-desktop__item .item__link:hover svg {
    color: rgb(127, 127, 233);
}

.navbar-desktop__item .item__link:hover {
    color: rgb(127, 127, 233);
}

.navbar-desktop__item .item__link:active svg {
    color: rgb(66, 66, 175);
}

.navbar-desktop__item .item__link:active {
    color: rgb(66, 66, 175);
}

.basket__btn {
    position: relative;
}

.basket__count {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: rgb(244, 194, 194);
    position: absolute;
    top: -5px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    font-size: 12px;
}

.cart-dropdown {
    position: absolute;
    right: 20px;
    top: 100%;
    width: 350px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cart-dropdown.active {
    display: block;
}

.cart-empty {
    text-align: center;
    padding: 20px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #333;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff0000;
    cursor: pointer;
    font-size: 18px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
}

.cart-total {
    font-weight: bold;
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.cart-actions .checkout {
    display: none;
}

.cart-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.view-cart {
    background: #f5f5f5;
    color: #333;
}

.checkout {
    background: #000;
    color: #fff;
}

/* header */
.video {
    padding-top: 20px;
    padding-bottom: 100px;
}

.video__container {
    display: flex;
    height: 620px;
    justify-content: space-around;
}

.video__block-left,
.video__block-right {
    width: 40%;
}

.video__block-left {
    border-radius: 22px;
    border: 2px solid rgb(244, 194, 194);
    box-shadow: 0px 0px 20px rgb(244, 194, 194);
}

.video__block-left video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 20px;
}

.video__block-right {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.block-right__banner {
    width: 90%;
    height: 48%;
    border: 2px solid rgb(244, 194, 194);
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgb(244, 194, 194);
}

.nav__list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 5%;
}

.nav__item-link .item__img-wraper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    animation: rotateColors 8s linear infinite;
}

@keyframes rotateColors {
    0% {
        box-shadow:
            0 0 15px rgba(244, 194, 194, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    }

    25% {
        box-shadow:
            0 0 15px rgba(127, 127, 233, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    }

    50% {
        box-shadow:
            0 0 15px rgba(0, 0, 245, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    }

    75% {
        box-shadow:
            0 0 15px rgba(75, 192, 192, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    }

    100% {
        box-shadow:
            0 0 15px rgba(244, 194, 194, 0.8),
            inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    }
}

.nav__item-link:hover .item__img-wraper {
    animation: none;
    box-shadow:
        0 10px 20px rgba(127, 127, 233, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-5px) scale(1.05);
}

.nav__item-link:active .item__img-wraper {
    box-shadow:
        0 5px 10px rgba(0, 0, 245, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    transform: scale(0.95);
}

.item__img-wraper-sale {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f5 0%, #f8f9fa 100%);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 0 0 2px rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.item__img-wraper-sale::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0% 25%,
            rgba(255, 0, 0, 0.3) 25% 50%,
            transparent 50% 75%,
            rgba(255, 0, 0, 0.3) 75% 100%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.nav__item-link:hover .item__img-wraper-sale {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 10px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.nav__item-link .item__img-wraper-sale svg {
    width: 30px;
    height: 30px;
    fill: #ff4757;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav__item-link:hover .item__img-wraper-sale svg {
    fill: #ff0000;
    transform: scale(1.1);
}

.nav__item-link:active .item__img-wraper-sale svg {
    fill: #cc0000;
    transform: scale(0.95);
}

.nav__item-descr {
    font-weight: 600;
    font-size: 10px;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.nav__item-link:hover .nav__item-descr {
    color: #4b4bff;
}

.nav__item-link {
    position: relative;
    overflow: hidden;
}

.nav__item-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__item-link:hover::after {
    width: 80%;
}

.nav__item-img {
    width: 100%;
    height: 100%;
}

.nav__item-descr {
    font-weight: 400;
    font-size: 8px;
    color: var(--black);
    text-align: center;
}

/* catalog */
.catalog {
    padding-top: 100px;
    padding-bottom: 100px;
}

.catalog__wraper-products {
    display: flex;
    gap: 50px;
}

.mobile-filter-btn {
    display: none;
}

.catalog__block-filter {
    position: sticky;
    top: 70px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.catalog__form-brand {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.filter-brand {
    margin-bottom: 50px;
}

.filter-brand__title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: var(--black);
}

.hidden-input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: fit-content;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    user-select: none;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s;
}

.custom-checkbox:hover .checkmark {
    border-color: #888;
}

.hidden-input:checked~.checkmark {
    background-color: rgb(244, 194, 194);
    border-color: rgb(244, 194, 194);
}

.hidden-input:checked~.checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.brand-name {
    font-size: 14px;
    color: #333;
    text-align: center;
}

.form-brand__btn {
    width: fit-content;
    padding: 10px 25px;
    color: white;
    background-color: rgb(244, 194, 194);
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

.hover-animate:hover {
    animation: pulse 0.5s infinite;
}

.filter-price__title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: var(--black);
}

.form-brand__btn:focus-visible {
    outline: 1px solid rgb(244, 194, 194);
    outline-offset: 5px;
}

.form-brand__btn:active {
    background-color: rgb(240, 174, 174);
}

.noUi-connect {
    background-color: rgb(244, 194, 194);
}

.noUi-handle {
    border-radius: 40%;
    cursor: pointer;
}

.price-range-values {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 18px;
    color: var(--black);
}

.form-price__btn {
    width: fit-content;
    padding: 10px 25px;
    color: white;
    background-color: rgb(244, 194, 194);
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

.hover-animate:hover {
    animation: pulse 0.5s infinite;
}

.form-price__btn:focus-visible {
    outline: 1px solid rgb(244, 194, 194);
    outline-offset: 5px;
}

.form-price__btn:active {
    background-color: rgb(240, 174, 174);
}

.catalog__block-products {
    width: 90%;
}

.product-card {
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-action-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.btn-order-now {
    padding: 8px 10px;
    background-color: #2ecc71;
    color: var(--black);
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
    font-weight: 400;
    font-size: 12px;
}

.btn-order-now:hover {
    background-color: #27ae60;
}

.btn-add-to-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    background-color: var(--black);
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
    font-weight: 400;
    font-size: 12px;
}

.btn-add-to-cart:hover {
    background-color: rgb(71, 68, 68);
}

.product-action-buttons .btn-add-to-cart svg {
    fill: white;
}

.product-card:hover::before {
    opacity: 0.7;
}

.product-card:hover .product-action-buttons {
    opacity: 1;
    visibility: visible;
}
.product-card:hover .product-info-block {
    opacity: 0.3;
}

.products__list {
    row-gap: 50px;
}

.product-img-block {
    margin-bottom: 20px;
}

.product-img-block img {
    width: 100%;
}

.product-text-block {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product__title {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 14px;
    color: var(--black);
}

.product__brand {
    margin-bottom: 8px;
    font-weight: 300;
    font-size: 10px;
    color: var(--silver);
}

.product__price {
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
}

/* delivery */
.delivery {
    padding-bottom: 100px;
}

.delivery__block-left .block-left__wraper,
.delivery__block-right .block-right__wraper {
    display: flex;
    flex-direction: column;
    border: 2px solid rgb(244, 194, 194);
    border-radius: 20px;
    padding: 20px;
    min-height: 200px;
    height: 100%;
    box-shadow: 0px 0px 20px rgb(244, 194, 194);
}

.delivery__block-left .block-left__title,
.delivery__block-right .block-right__title {
    margin-bottom: 20px;
    font-weight: 550;
    font-size: 30px;
    text-align: center;
}

.block-left__descr,
.block-right__descr {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

/* footer */
.footer {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgb(244, 194, 194);
}

.footer__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__item {
    display: flex;
    width: 15%;
    align-items: center;
}

.footer__link {
    outline: none;
}

.footer__item .footer__link {
    align-self: flex-start;
}

.footer__link-decr {
    font-weight: 400;
    font-size: 16px;
    color: white;
    transition: color 0.3s ease-in-out;
}

.footer__link:focus-visible .footer__link-decr {
    color: rgb(127, 127, 233);
}

.footer__link:hover .footer__link-decr {
    color: rgb(127, 127, 233);
}

.footer__link:active .footer__link-decr {
    color: rgb(66, 66, 175);
}

.footer__copyright {
    font-weight: 400;
    font-size: 12px;
    color: white;
}

.footer__address {
    font-weight: 400;
    font-size: 16px;
    color: white;
}

/* product-info */
.product-info {
    display: none;
}

.product-info__container {
    padding: 50px;
    border: 2px solid rgb(244, 194, 194);
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgb(244, 194, 194);
}

.swiper-button-next,
.swiper-button-prev {
    color: rgb(244, 194, 194);
}

.swiper-pagination-bullet-active {
    background: rgb(244, 194, 194);
}

.descr-block__top {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.descr-block__title {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 18px;
    color: var(--black);
}

.product__title-brand {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 12px;
    color: rgb(244, 194, 194);
}

.product__material {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
    color: var(--black);
}

.product__material-descr {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 12px;
    color: var(--silver);
    line-height: 160%;
}

.product__characteristics {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
    color: var(--black);
}

.product__characteristics-descr {
    font-weight: 400;
    font-size: 12px;
    color: var(--silver);
}

.product__characteristics-descr-price {
    font-weight: 550;
    font-size: 24px;
    color: var(--black);
}

.product__characteristics-descr:not(:last-child) {
    margin-bottom: 12px;
}

.descr-block__center {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.descr-block__btn {
    display: flex;
    padding: 15px 20px;
    font-weight: 400;
    font-size: 18px;
    color: white;
    background-color: rgb(244, 194, 194);
    border-radius: 15px;
    align-items: center;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

.descr-block__btn svg {
    margin-right: 10px;
    fill: white;
}

.descr-block__btn:focus-visible {
    outline: 1px solid rgb(244, 194, 194);
    outline-offset: 5px;
}

.descr-block__btn:active {
    background-color: rgb(240, 174, 174);
}

.descr-block__like-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0px 0px 20px rgb(244, 194, 194);
    transition: box-shadow 0.3s ease-in-out;
}

.descr-block__like-link svg {
    fill: rgb(244, 194, 194);
    transition: fill 0.3s ease-in-out;
}

.descr-block__like-link {
    outline: none;
}

.descr-block__like-link:focus-visible {
    box-shadow: 0px 0px 20px rgb(127, 127, 233);
}

.descr-block__like-link:hover {
    box-shadow: 0px 0px 20px rgb(127, 127, 233);
}

.descr-block__like-link:active {
    box-shadow: 0px 0px 20px rgb(2, 2, 126);
}

.descr-block__like-link:focus-visible svg {
    fill: rgb(127, 127, 233);
}

.descr-block__like-link:hover svg {
    fill: rgb(127, 127, 233);
}

.descr-block__like-link:active svg {
    fill: rgb(2, 2, 126);
}

.down__title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
    color: rgb(244, 194, 194);
}

.down__descr {
    font-weight: 400;
    font-size: 12px;
    color: var(--silver);
    line-height: 160%;
}

.down__descr:not(:last-child) {
    margin-bottom: 30px;
}

.down__subtitle {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
    color: rgb(244, 194, 194);
}

/* checkout-modal */
/* Stiluri pentru modalul de checkout */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 20px;
}

.checkout-container {
    background-color: #fff;
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.close-checkout {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.checkout-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.checkout-products {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.checkout-items {
    margin: 20px 0;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.checkout-item-info {
    flex-grow: 1;
    padding: 0 15px;
}

.checkout-item-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.checkout-item-brand {
    color: #777;
    font-size: 14px;
}

.checkout-item-quantity {
    color: #555;
}

.checkout-item-price {
    font-weight: bold;
    min-width: 80px;
    text-align: right;
}

.checkout-total {
    text-align: right;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.checkout-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-order-btn:hover {
    background-color: #333;
}

/* Stiluri pentru notificare */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99999;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Stiluri pentru butonul de checkout */
.checkout-btn {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #333;
}