* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url('/fonts/HelveticaNeue-Light.woff2') format('woff2'),
         url('/fonts/HelveticaNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'HelveticaNeue', Arial, sans-serif;
    font-weight: 300;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #000000;
    text-decoration: none;
}

a:visited {
    color: #000000;
}

button {
    color: #000000;
}

header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 30px;
    flex: 1;
    position: relative;
}

.nav-right {
    justify-content: flex-end;
}

.nav-center {
    flex: 1;
    text-align: center;
}

.nav-center h1 {
    font-size: 20px !important;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-center h1 a {
    color: #000000;
    text-decoration: none;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

.nav-left a,
.nav-right a {
    color: #000000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-left a:hover,
.nav-right a:hover {
    opacity: 0.6;
}

main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px;
    flex: 1;
    width: 100%;
}

.hero-banner {
    margin-bottom: 40px;
}

.banner-link {
    display: block;
}

.sale-banner {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.sale-banner:hover {
    opacity: 0.95;
}

.divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 60px 0;
}

.featured-products {
    margin: 60px 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 0 auto;
    width: 100%;
}

/* Центрируем последнюю плитку, если она одна в ряду */
.product-showcase .showcase-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 60px) / 2);
}

.showcase-item {
    text-align: center;
}

.showcase-item a {
    text-decoration: none;
    color: #000000;
}

.showcase-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.showcase-item img:hover {
    transform: scale(1.02);
}

.showcase-item h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-all-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-all-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
}

.shop-all-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.shop-all-images a {
    display: block;
    overflow: hidden;
}

.shop-all-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-all-images a:hover img {
    transform: scale(1.05);
}

.custom-order {
    text-align: center;
    margin: 150px 0 60px 0;
}

.custom-order p {
    font-size: 14px;
    letter-spacing: 1px;
    color: #000000;
    text-transform: uppercase;
}

footer {
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 10px;
    letter-spacing: 1px;
    color: #666666;
    text-transform: uppercase;
}

.catalog-page {
    padding: 40px;
    min-height: calc(100vh - 300px);
    display: grid;
    grid-template-rows: auto 1fr;
}

.collection-title {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.empty-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.empty-text {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #757575;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.empty-back-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: center;
}

.empty-back-btn:hover {
    background-color: #000;
    color: #fff;
}

.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 110px;
    max-width: 1600px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.product-card a {
    text-decoration: none;
    color: #000000;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Кнопка избранного (сердечко) */
.favorite-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.favorite-icon:hover {
    transform: scale(1.2);
}

.favorite-icon.favorited {
    color: #ff0000;
}

.product-card .product-info-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.product-card .product-info-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
    min-height: 20px;
}

.product-card .product-sizes {
    font-size: 10px;
    color: #666;
    letter-spacing: 0.5px;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    background-color: #f5f5f5;
}

.product-card:hover img {
    transform: scale(1.02);
}

.product-card h3 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.8px;
    margin-bottom: 0;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.product-card .price {
    font-size: 13px;
    font-weight: 400;
    text-align: left;
}

.sale-price {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
}

.original-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 11px;
}

.discounted-price {
    color: #d32f2f;
    font-weight: 400;
    font-size: 13px;
}

.badge {
    position: absolute;
    top: 15px;
    color: #ffffff;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 500;
    z-index: 10;
}

.badge-new {
    display: none;
}

.badge-sale {
    left: 15px;
    background-color: #ff0000;
}

.badge-out-of-stock {
    left: 15px;
    background-color: #000000;
    font-size: 10px;
    padding: 8px 12px;
    z-index: 20;
    opacity: 1 !important;
}

.product-card.out-of-stock img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.product-card.out-of-stock:hover img {
    transform: none;
}

.sale-badge,
.new-badge,
.sold-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 10;
    text-transform: uppercase;
}

.new-badge {
    background-color: #2e7d32;
}

.sold-badge {
    background-color: #666666;
}

.sale-banner-full {
    width: 100%;
    margin-bottom: 60px;
}

.sale-banner-full img {
    width: 100%;
    height: auto;
    display: block;
}

.product-page {
    padding: 40px 60px;
}

.product-container-new {
    display: grid;
    grid-template-columns: 280px 600px 320px;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
    align-items: start;
    justify-content: center;
}

.product-info-left {
    position: sticky;
    top: 400px;
    padding-right: 20px;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.4;
}

.product-info-left .product-price {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
}

.product-accordion {
    border-top: 1px solid #000;
    padding: 15px 0;
}

.product-accordion:last-of-type {
    border-bottom: 1px solid #000;
}

.product-accordion summary {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion[open] summary {
    margin-bottom: 15px;
}

.accordion-content {
    font-size: 11px;
    line-height: 1.7;
    color: #666;
}

.accordion-content p {
    margin-bottom: 8px;
}

.accordion-content ul,
.accordion-content ol {
    padding-left: 18px;
    margin: 8px 0;
}

.accordion-content li {
    margin-bottom: 6px;
}

.product-gallery-center {
    max-height: calc(200vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-gallery-center::-webkit-scrollbar {
    display: none;
}

.images-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.images-scroll-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.images-scroll-container img:hover {
    opacity: 0.9;
}

.product-purchase-right {
    position: sticky;
    top: 400px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.size-selector-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.size-display {
    width: 100%;
    padding: 12px 15px;
    font-size: 13px;
    border: 1px solid #000;
    background-color: #fff;
    font-family: inherit;
    text-align: left;
}

.size-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 13px;
    border: 1px solid #000;
    background-color: #fff;
    cursor: pointer;
    font-family: inherit;
}

.add-to-cart-btn {
    width: 100%;
    padding: 14px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.add-to-cart-btn:hover {
    background-color: #000;
    color: #fff;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 60px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10000;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-arrow-left {
    left: 30px;
}

.modal-arrow-right {
    right: 30px;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    position: relative;
}

.main-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    margin-bottom: 20px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 48px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow-left {
    left: 15px;
}

.carousel-arrow-right {
    right: 15px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #000000;
}

.product-info {
    padding-right: 40px;
}

.product-info h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-price {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
}

.product-details {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.product-details h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.product-details p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-details ul {
    list-style-position: inside;
    margin: 15px 0;
}

.product-details ul li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.size-selector select {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #000000;
    background-color: #ffffff;
    cursor: pointer;
    text-transform: uppercase;
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.add-to-cart-btn:hover {
    background-color: #333333;
}

.shipping-returns {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.shipping-returns h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.shipping-returns p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666666;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-left,
    .nav-right {
        gap: 20px;
    }

    main {
        padding: 30px 30px;
    }

    .product-showcase,
    .products-grid {
        gap: 40px;
    }

    .product-container {
        gap: 60px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        font-size: 11px;
    }

    .nav-center h1 {
        font-size: 18px !important;
        letter-spacing: 1px;
    }

    .showcase-item h3,
    .product-card h3 {
        font-size: 12px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info h1 {
        font-size: 22px;
    }

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

    .shop-all-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .shop-all-title {
        font-size: 12px;
    }
}

.tg-link {
    color: inherit;
    text-decoration: underline;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cart-badge {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    padding: 0 4px;
}

.cart-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px;
    width: 100%;
}

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

.empty-cart p {
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    color: #666;
}

.continue-shopping-btn {
    display: inline-block;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 400;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.continue-shopping-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.cart-items-container {
    border-right: 1px solid #e0e0e0;
    padding-right: 60px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-image {
    width: 120px;
    height: 160px;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cart-item-size,
.cart-item-price {
    font-size: 12px;
    color: #666;
}

.cart-item-price {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #000;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #f5f5f5;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 13px;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #ff0000;
}

.cart-summary {
    position: sticky;
    top: 120px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.total-label {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.total-amount {
    font-size: 20px;
    font-weight: 400;
}

.cart-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0 30px 0;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 13px;
    border: 1px solid #000;
    background-color: #fff;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-hint {
    font-size: 10px;
    color: #666;
    letter-spacing: 0.5px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
    font-weight: 500;
    margin-top: 10px;
}

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

.checkout-notice {
    font-size: 10px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
}

.success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.success-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-success {
    background-color: #fff;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
}

.modal-icon {
    font-size: 60px;
    color: #2e7d32;
    margin-bottom: 20px;
}

.modal-content-success h3 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-content-success p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.modal-close-btn {
    margin-top: 30px;
    padding: 14px 40px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

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

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cart-items-container {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 40px;
    }

    .cart-summary {
        position: relative;
        top: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 107px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #000;
    color: #fff;
    padding: 16px 32px;
    font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 300px;
    text-align: center;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
    background-color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-btn.active {
    color: #ff0000;
}

.favorites-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 40px;
    width: 100%;
}

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

.empty-favorites p {
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    color: #666;
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    .mobile-menu {
        display: none !important;
    }
    .filter-container-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .navbar {
        padding: 15px 20px;
        position: relative;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-center {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .nav-center h1 {
        font-size: 18px !important;
        letter-spacing: 1.5px;
    }

    .mobile-menu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 24px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2000;
        transition: all 0.3s ease;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #000;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
        transform-origin: center;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translateY(-9px);
        transform-origin: center;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-content {
        position: absolute;
        right: 0;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background-color: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 80px 30px 40px 30px;
        overflow-y: auto;
    }

    .mobile-menu.active .mobile-menu-content {
        transform: translateX(0);
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .mobile-menu-link {
        color: #000;
        text-decoration: none;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-link:hover {
        opacity: 0.6;
    }

    .mobile-menu-logout {
        margin-top: auto;
        padding-top: 0;
        padding-bottom: 20px;
        margin-bottom: 0;
    }

    .mobile-shop-section {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .mobile-shop-toggle {
        background: none;
        border: none;
        color: #000;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-family: inherit;
        cursor: pointer;
        text-align: left;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        transition: opacity 0.3s ease;
        margin-bottom: 0;
    }

    .mobile-shop-toggle:hover {
        opacity: 0.6;
    }

    .shop-arrow {
        font-size: 10px;
        transition: transform 0.3s ease;
    }

    .mobile-shop-dropdown {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-left: 20px;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
    }

    .mobile-shop-dropdown.active {
        max-height: 200px;
        margin-top: 12px;
    }

    .mobile-shop-dropdown a {
        color: #666;
        text-decoration: none;
        font-size: 12px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .mobile-shop-dropdown a:hover {
        color: #000;
    }

    .mobile-menu-footer {
        border-top: 1px solid #e0e0e0;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-menu-footer p {
        margin: 0;
    }

    .mobile-menu-footer a {
        color: #999;
        text-decoration: none;
        font-size: 9px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

    .mobile-menu-footer a:hover {
        color: #000;
    }

    main {
        padding: 20px 15px;
    }

    .hero-banner {
        margin-bottom: 30px;
    }

    .sale-banner {
        max-height: 200px;
    }

    .divider {
        margin: 40px 0;
    }

    .featured-products {
        margin: 40px 0;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Отключаем центрирование третьей плитки на мобильных */
    .product-showcase .showcase-item:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: auto;
        width: 100%;
    }

    .showcase-item img {
        height: 300px;
    }

    .custom-order {
        margin: 80px 0 40px 0;
    }

    .custom-order p {
        font-size: 12px;
        padding: 0 10px;
    }

    .catalog-page {
        padding: 20px 15px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
        width: 100%;
        max-width: 100%;
    }

    .product-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        width: 100%;
    }

    .product-card a {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }

    .product-card img {
        width: 100%;
        height: 220px;
        object-fit: contain;
        margin-bottom: 10px;
        background-color: #fff;
    }

    .product-card h3 {
        font-size: 10px;
        letter-spacing: 0.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-card .price {
        font-size: 11px;
    }

    .product-card .product-info-container {
        gap: 3px;
    }

    .product-card .product-info-row {
        gap: 8px;
    }

    .product-card .product-sizes {
        font-size: 9px;
    }

    .badge {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .badge-out-of-stock {
        font-size: 8px;
        padding: 6px 8px;
    }

    .favorite-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .product-page {
        padding: 0;
    }

    .product-container-new {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .product-gallery-center {
        order: 1;
        max-height: none;
        overflow: visible;
        position: relative;
        width: 100%;
        padding: 0;
    }

    .product-info-left {
        position: static;
        order: 2;
        padding: 20px 15px 15px 15px;
        width: 100%;
        text-align: left;
    }

    .product-title {
        font-size: 12px;
        margin-bottom: 8px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 400;
        line-height: 1.4;
    }

    .product-info-left .product-price {
        font-size: 14px;
        margin-bottom: 0;
        font-weight: 400;
    }

    .product-info-left .product-accordion {
        display: none;
    }

    .mobile-carousel-main {
        position: relative;
        width: 100%;
        margin-bottom: 12px;
        height: 420px;
        background-color: #fff;
    }

    .mobile-carousel-main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .mobile-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid #000;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        z-index: 10;
        transition: all 0.2s ease;
    }

    .mobile-carousel-arrow:active {
        background-color: #000;
        color: #fff;
    }

    .mobile-carousel-arrow-left {
        left: 8px;
    }

    .mobile-carousel-arrow-right {
        right: 8px;
    }

    .mobile-carousel-thumbs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 15px 15px 15px;
    }

    .mobile-carousel-thumbs::-webkit-scrollbar {
        display: none;
    }

    .mobile-carousel-thumbs img {
        width: 60px;
        height: 80px;
        object-fit: cover;
        cursor: pointer;
        opacity: 0.5;
        transition: opacity 0.2s ease;
        flex-shrink: 0;
        border: 1px solid #ddd;
    }

    .mobile-carousel-thumbs img.active {
        opacity: 1;
        border: 2px solid #000;
    }

    .images-scroll-container {
        display: none;
    }

    .product-purchase-right {
        position: static;
        order: 3;
        padding: 0 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .product-purchase-right .size-selector-container {
        gap: 10px;
    }

    .product-purchase-right .size-label {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .product-purchase-right .size-display,
    .product-purchase-right .size-select {
        padding: 12px 15px;
        font-size: 13px;
        border: 1px solid #000;
    }

    .product-purchase-right .add-to-cart-btn {
        padding: 14px;
        font-size: 11px;
        letter-spacing: 1px;
        background-color: #000;
        color: #fff;
    }

    .mobile-product-accordions {
        order: 4;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 15px;
    }

    .mobile-product-accordions .product-accordion {
        padding: 15px 0;
        border-top: 1px solid #ddd;
    }

    .mobile-product-accordions .product-accordion:last-of-type {
        border-bottom: 1px solid #ddd;
    }

    .mobile-product-accordions .product-accordion summary {
        font-size: 10px;
        font-weight: 400;
        letter-spacing: 1.5px;
        list-style: none;
        cursor: pointer;
        user-select: none;
        text-transform: uppercase;
    }

    .mobile-product-accordions .product-accordion summary::-webkit-details-marker {
        display: none;
    }

    .mobile-product-accordions .product-accordion[open] summary {
        margin-bottom: 10px;
    }

    .mobile-product-accordions .accordion-content {
        font-size: 10px;
        line-height: 1.6;
        color: #666;
    }

    footer {
        padding: 30px 0;
        margin-top: 60px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-left,
    .footer-right {
        display: none;
    }

    .footer-content p {
        font-size: 9px;
    }

    .cart-page {
        padding: 20px 15px;
    }

    .favorites-page {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .empty-favorites {
        padding: 60px 20px;
    }

    .empty-favorites p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    #favoritesLoading {
        padding: 40px 20px;
        font-size: 12px;
    }

    #productsEmpty {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: calc(100vh - 150px);
        text-align: center;
        padding: 20px;
        font-size: 14px;
        letter-spacing: 1px;
        margin-top: 250px;
    }
}


.filter-container {
    margin-bottom: 40px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-button {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background-color: #000;
    color: #fff;
}

.filter-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.filter-button.active .filter-arrow {
    transform: rotate(180deg);
}

.filter-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #000;
    min-width: 250px;
    margin-top: 5px;
    display: none;
    z-index: 100;
}

.filter-menu.active {
    display: block;
}

.filter-section {
    border-bottom: 1px solid #e0e0e0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 15px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.filter-section-toggle:hover {
    background-color: #f5f5f5;
}

.section-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.filter-section-toggle.active .section-arrow {
    transform: rotate(90deg);
}

.filter-section-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
}

.filter-section-items.active {
    max-height: 300px;
}

.filter-item {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 25px;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    color: #666;
}

.filter-item:hover {
    background-color: #000;
    color: #fff;
}

.filter-item.selected {
    background-color: #000;
    color: #fff;
    font-weight: 500;
}

.filter-reset {
    background-color: #fff;
    color: #000;
    padding: 12px 15px;
    font-weight: 500;
}

.filter-reset:hover {
    background-color: #000;
    color: #fff;
}

.filter-container-mobile {
    display: none;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.filter-button-mobile {
    background-color: #fff;
    border: 1px solid #000;
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button-mobile:hover {
    background-color: #000;
    color: #fff;
}

.filter-button-mobile svg {
    pointer-events: none;
}

.filter-modal-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.filter-modal-mobile.active {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.filter-modal-content {
    background-color: #fff;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.filter-modal-header h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.filter-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-modal-body {
    padding: 20px;
}

.filter-section-mobile {
    margin-bottom: 30px;
}

.filter-section-mobile:last-child {
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option-mobile {
    background-color: #fff;
    border: 1px solid #000;
    padding: 12px 20px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.filter-option-mobile:hover,
.filter-option-mobile.selected {
    background-color: #000;
    color: #fff;
}

.filter-reset-mobile {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.filter-reset-mobile:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .filter-container-mobile {
        display: flex;
    }
}

