@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/gilroy-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

html {
    background-color: #000;
    z-index: -2;
    font-size: 18px;
}

body {
    font-family: 'Gilroy';
    font-size: 1.3rem;
    background-image: url(../Assets/Sprites/back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

.form-group {
    width: 19.7rem;
    border-bottom: 1px solid #42c1c7;
    margin-bottom: 0.8rem;
}

.input-form {
    background-color: #fff;
    color: #000;
}

.form-group input {
    padding: 0.56rem;
    border: 2px solid #42c1c7;
    border-radius: 40px;
    background-color: white;
    color: #000;
    font-size: 0.89rem;
    font-family: 'Gilroy';
    padding-left: 1.11rem;
}

.form-group p {
    margin: 0px 0 0.83rem 0px;
    color: #42c1c7;
    font-weight: 400;
    width: 22.22rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    align-items: center;
}

.form-group label p {
    color: #fff;
    font-weight: 400;
}

.inp {
    margin-bottom: 1.11rem;
    width: 17.8rem;
}

.cart-button-container {
    position: fixed;
    bottom: 70px;
    right: 70px;
    display: flex;
    z-index: 10;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    background-color: #42c1c7;
    border-radius: 50%;
    border: 1px solid #000;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 8;
}

.cart-button {
    background: linear-gradient(90deg, #42c1c7, #7be8ee);
    border: none;
    cursor: pointer;
    border-radius: 18px;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 1.22rem;
    -webkit-transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    align-content: center;
    align-items: center;
    display: flex;
    height: min-content;
    z-index: 7;
    padding: 0.9rem;
}

.cart-button:hover {
    background: linear-gradient(90deg, #7be8ee, #42c1c7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 173, 255, 0.4);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.cart-menu, .checkout-menu {
    position: fixed;
    top: 0;
    right: -62rem;
    -webkit-transition: right 0.5s ease;
    transition: right 0.5s ease;
    width: 40rem;
    height: 99.2%;
    background-color: #000;
    overflow-y: auto;
    z-index: 10;
    border-radius: 30px 0px 0px 30px;
    border: 4px solid #42c1c7;
    -webkit-box-shadow: 0px 0px 100px 90px rgba(66, 193, 199, 0.2);
    -moz-box-shadow: 0px 0px 100px 90px rgba(66, 193, 199, 0.2);
    box-shadow: 0px 0px 200px 90px rgba(66, 193, 199, 0.2);
    padding: 0px 70px;
}

.cart-menu.active, .checkout-menu.active {
    right: -1rem;
    -webkit-transition: right 0.5s ease;
    -moz-transition: right 0.5s ease;
    transition: right 0.5s ease;
}

.cart-header, .checkout-header {
    color: #42c1c7;
    display: flex;
    flex-direction: column;
    height: 10rem;
    padding: 50px 0px 0px 0px;
}

.cart-header {
    height: 110px;
}

.cart-header h2, .checkout-header h2 {
    margin-top: 45px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 2rem;
}

.checkout-header p {
    font-size: 1rem;
    color: red;
}

.cart-buttons, .checkout-buttons {
    position: sticky;
    z-index: 11;
    top: 50px;
}

.checkout-buttons {
    display: flex;
    justify-content: space-between;
}

.cart-buttons {
    display: flex;
    justify-content: end;
}

.close-button, .back-to-cart {
    background-color: #353637;
    padding: 1.1rem;
    border-radius: 55px;
    cursor: pointer;
    align-content: center;
    align-items: center;
    display: flex;
    height: min-content;
    width: min-content;
}

.close-img, .back-cart-img {
    width: 23px;
    height: 23px;
}

.cart-img {
    width: 1.875rem;
    height: 1.875rem;
}

.delete-item {
    background-color: transparent;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
    border: none;
    padding: 0px;
}

.delete-item-img {
    width: 1rem;
}

.cart-content, .checkout-content {
    background-color: #000;
}

.cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-items li {
    display: flex;
    padding: 30px 22px 30px 0px;
    border-bottom: 1px solid #42c1c7;
    align-items: center;
    justify-content: space-between;
}

.cart-items li p {
    font-size: 1.4rem;
    font-weight: 600;
}

.cart-photo {
    background-color: #fff;
    border-radius: 20px;
    width: 10rem;
    height: 10rem;
    object-fit: cover;
}

.right-part {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 45px;
}

.final-price, .all-in-all {
    text-align: right;
    text-decoration: underline;
    margin: 0px;
}

.all-in-all {
    font-size: 1.2rem;
    margin-top: 70px;
}

.final-price {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.right-part p {
    margin: 0px;
}

.form-group input {
    padding: 0.56rem;
    border: 2px solid #42c1c7;
    border-radius: 45px;
    background-color: white;
    color: #000;
    font-size: 0.89rem;
    font-family: 'Gilroy', sans-serif;
    padding-left: 1.11rem;
}

.form-group input::placeholder {
    color: gray;
    opacity: 0.5;
}

.form-group label {
    display: block;
    color: #ffffff;
    align-items: center;
}

.cdek-map {
    width: 100%;
    height: 500px;
    color: #000;
    background-color: #ccc;
    border-radius: 45px;
    text-align: center;
    margin: 50px 0px;
    align-content: center;
}

.checkout-button {
    background: linear-gradient(90deg, #42c1c7, #7be8ee);
    border: none;
    padding: 0.56rem 1.39rem;
    cursor: pointer;
    border-radius: 18px;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 1.22rem;
    -webkit-transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    align-items: center;
    display: flex;
    height: min-content;
    margin-bottom: 65px;
    color: #000;
}

.checkout-arrow {
    margin-left: 0.56rem;
}

.checkout-button:hover {
    background: linear-gradient(90deg, #7be8ee, #42c1c7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 173, 255, 0.4);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.mask-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.main_container.blur-active {
    filter: blur(3px);
}

.main_container.blur-active ~ .mask-content {
    opacity: 1;
    visibility: visible;
}








a {
    text-decoration-line: none;
    border-radius: 18px;
    height: 2.5rem;
}

.main_container {
    width: 80vw;
    max-width: 80rem;
    margin: 2.8rem 10rem 0rem 10rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.content {
    flex: 1;
    margin-bottom: 5.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header {
    font-size: 1.2rem;
    display: flex;
    position: sticky;
    top: 1.7rem;
    z-index: 1;
    -webkit-transition: backdrop-filter 0.5s ease, background-color 0.5s ease; 
    transition: backdrop-filter 0.5s ease, background-color 0.5s ease; 
    background-color: transparent;
    border-radius: 50px;
    margin-bottom: 2.2rem;
}

header.blur {
    backdrop-filter: blur(7px);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50px;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(70, 122, 127, 0.7));
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    border-radius: 50px;
}

header.blur::before {
    opacity: 1;
}

.nav-icon {
    display: none;
}

.nav-text.header {
    text-shadow: none;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0px 8.5rem 0px 0px;
    align-content: center;
    align-items: center;
}

nav ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    text-shadow:
        -0.5px -0.5px 0 #000,
        0.5px -0.5px 0 #000,
        -0.5px 0.5px 0 #000,
        0.5px 0.5px 0 #000;
    padding-bottom: 0.222rem;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0.111rem;
    background-color: #42c1c7;
    -webkit-transition: width 0.4s ease;
    transition: width 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul a.text-button-color::after, nav ul a.logo-ref::after {
    display: none;
}

.logo-header {
    width: 6.3rem;
    margin-left: 2.5rem;
    height: 2.45rem;
}

.name {
    display: flex;
    gap: 1.39rem;
    margin-bottom: 0.56rem;
}

.header-button a, .add-cart-button a, .price-add a {
    background: linear-gradient(90deg, #42c1c7, #7be8ee);
    border: none;
    padding: 0.56rem 1.39rem;
    cursor: pointer;
    border-radius: 18px;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 1.22rem;
    -webkit-transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    align-content: center;
    align-items: center;
    display: flex;
    height: min-content;
}

.header-button a:hover, .add-cart-button a:hover, .price-add a:hover {
    background: linear-gradient(90deg, #7be8ee, #42c1c7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 173, 255, 0.4);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.add-cart-button a {
    width: fit-content;
}

.add-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product {
    display: flex;
    margin-bottom: 6rem;
}

.product-images {
    flex: 1;
    display: flex;
    gap: 1.67rem;
}

.main-image {
    background-color: #ccc;
    width: 30rem;
    height: 30rem;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
}

.main-image:hover {
    -webkit-box-shadow: 5px 5px 6px 0px rgba(66,193,199,1);
    -moz-box-shadow: 5px 5px 6px 0px rgba(66,193,199,1);
    box-shadow: 5px 5px 6px 0px rgba(66,193,199,1); 
    transition: box-shadow 0.4s ease;
}

.thumbnail-images {
    display: flex;
    gap: 1.11rem;
    flex-direction: column;
}

.thumbnail {
    background-color: #ccc;
    width: 8.56rem;
    height: 8.56rem;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.thumbnail.active {
    border: 3px solid #42c1c7;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2.78rem;
    text-align: right;
    align-items: end;
}

.product-info h2 {
    color: #fff;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 2.5rem;
    text-align: right;
    margin: 0;
}

.product-info p {
    margin: 0;
}

.price-add a {
    padding-top: 0.139rem;
    padding-bottom: 0.139rem;
}

.add-cart-button a {
    padding-top: 0.56rem;
    padding-bottom: 0.56rem;
}

.header-button {
    margin-right: 0px;
}

.text-button-color {
    color: #0f1f23;
}

.text-button-color.price {
    flex-grow: 1;
    justify-content: center;
    margin-bottom: 0.83rem;
}

.button-img {
    margin-right: 0.56rem;
}

.bag-img {
    padding: 0.28rem;
    margin: 0px;
}

.merch-carousel {
    text-align: left;
    line-height: 2.22rem;
    margin-bottom: 6.67rem;
}

h1 {
    color: #42c1c7;
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 1.67rem;
}

.merch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.merch {
    display: flex;
    overflow: hidden;
    border-radius: 18px;
    height: auto;
    vertical-align: bottom;
    width: 100%;
}

.merch-item {
    text-align: left;
    border-radius: 18px;
    height: auto;
    flex: 0 0 calc(25% - 1.11rem);
    max-width: 350px;
    display: flex;
    flex-direction: column;
    vertical-align: bottom;
    position: relative;
}

.merch-item p {
    margin: 0.28rem 0px 0.28rem 0px;
    font-weight: 400;
    color: #fff;
    min-width: auto;
}

.merch-track {
    gap: 0px 1.11rem;
    height: auto;
}

.carousel-photo {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
}

.carousel-photo:hover {
    -webkit-box-shadow: 5px 5px 6px 0px rgba(66,193,199,1);
    -moz-box-shadow: 5px 5px 6px 0px rgba(66,193,199,1);
    box-shadow: 5px 5px 6px 0px rgba(66,193,199,1); 
    transition: box-shadow 0.4s ease;
    cursor: pointer;
}

.price-add {
    display: flex;
    align-items: center;
    width: 99%;
    align-self: center;
}

.add-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-carousel {
    display: flex;
    overflow: hidden;
    border-radius: 18px;
}

.merch-track {
    display: flex;
    -webkit-transition: transform 0.8s ease-in-out;
    transition: transform 0.8s ease-in-out;
}

.carousel-btn2 {
    background: #353637;
    border: none;
    padding: 0.56rem;
    border-radius: 18px;
    cursor: pointer;
    -webkit-transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.3s ease;
    align-content: center;
    align-items: center;
    display: flex;
    height: min-content;
}

.carousel-button-img1 {
    margin: 0.39rem 0.17rem 0.39rem 0.17rem;
}

.carousel-button-img2 {
    margin: 0.39rem 0.17rem 0.39rem 0.17rem;
    transform: rotate(180deg);
}

.prev-btn2 {
    margin-right: 0.89rem;
}

.next-btn2 {
    margin-left: 0.89rem;
}

.footer-img {
    margin-right: 0.28rem;
    vertical-align: middle;
}

footer {
    text-align: center;
    margin-bottom: 1.67rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.foot1, .foot2, .foot3, .foot4 {
    text-align: left;
    width: 19.44rem;
    white-space: pre-line;
}

.foot1 {
    width: 25rem;
}

.logo-footer {
    width: 6.3rem;
    height: 2.45rem;
}

.logo-foot {
    width: min-content;
    align-content: center;
    margin-top: -1rem;
}

.logo-foot, .foot1 p, .foot2 p, .foot3 p, .foot4 p {
    line-height: 1.67rem;
}

footer p, footer a {
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    margin-top: 0px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1740px) {
    html {
        font-size: 0.9rem;
    }

    nav ul li {
        margin: 0px 8.5rem 0px 0px;
    }
}

@media (max-width: 1440px) {
    html {
        font-size: 0.8rem;
    }

    nav ul li {
        margin: 0px 7.5rem 0px 0px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 0.7rem;
    }

    nav ul li {
        margin: 0px 8rem 0px 0px;
    }

    .button-img {
        margin-right: 0;
        width: 1.67rem;
    }
}

@media (max-width: 1030px) {
    html {
        font-size: 0.6rem;
    }

    nav ul li {
        margin: 0px 7rem 0px 0px;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 10px;
    }

    nav ul li {
        margin: 0px 5rem 0px 0px;
    }

    .cart-menu, .checkout-menu {
        right: -112rem;
        width: 69.5rem;
    }

    .cart-menu.active, .checkout-menu.active {
        right: -1.8rem;
    }

    .cart-header {
        height: 13rem;
    }

    .checkout-header {
        height: 21rem;
    }

    .cart-header h2, .checkout-header h2 {
        margin-top: 45px;
        font-size: 5rem;
    }
    
    .checkout-header p {
        font-size: 2.5rem;
    }

    .form-group {
        margin-bottom: 2rem;
        width: 32.5rem;
        border-bottom: 2px solid #42c1c7;
    }
    
    .form-group input {
        height: 4rem;
        padding: 0.56rem;
        font-size: 2.5rem;
        padding-left: 1.5rem;
    }
    
    .form-group p {
        margin: 0px 0 2rem 0px;
        font-size: 2.5rem;
        font-weight: 600;
    }

    .inp {
        margin-bottom: 3rem;
        width: 30rem;
    }

    .cart-count {
        left: -12px;
        top: -12px;
        width: 33px;
        height: 33px;
        font-size: 22px;
    }

    .close-button, .back-to-cart {
        padding: 2.5rem;
    }

    .close-img, .back-cart-img {
        width: 35px;
        height: 35px;
    }

    .cart-img {
        width: 3.125rem;
        height: 3.125rem;
    }

    .delete-item-img {
        width: 3rem;
    }

    .cart-items li {
        padding: 35px 29px 35px 0px;
    }

    .cart-items li p {
        font-size: 3.3rem;
        font-weight: 600;
    }
    
    .cart-photo {
        border-radius: 22px;
        width: 18rem;
        height: 18rem;
    }
    
    .right-part {
        gap: 25px;
    }

    .all-in-all {
        font-size: 3rem;
        margin-top: 70px;
    }
    
    .final-price {
        font-size: 5rem;
        margin-bottom: 30px;
    }

    .sdek-map {
        width: 100%;
        height: 600px;
        border-radius: 40px;
        margin: 35px 0px;
    }
    
    .checkout-button {
        padding: 1.2rem 2rem;
        border-radius: 23px;
        font-size: 3rem;
        margin-bottom: 70px;
    }
    
    .checkout-arrow {
        margin-left: 0.56rem;
        height: 20px;
    }

    .size-selector {
        height: 35px;
        font-size: 2rem;
    }
}

    .loader {
        border: 8px solid #fff;
        border-radius: 50%;
        border-top: 8px solid #42c1c7;
        width: 1rem;
        height: 1rem;
        -webkit-animation: spin 1s ease-in-out infinite;
        animation: spin 1s ease-in-out infinite;
    }
    
    @-webkit-keyframes spin {
        0% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(360deg); }
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }