/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background-color: #F8D8CB;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.delivery-text {
    font-weight: 300;
    font-size: 12px;
    color: #000;
    text-decoration: none;
}

/* Catalog Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}

.sidebar {
    background: #f8f9fa;
    padding: 30px 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-category-section {
    margin-bottom: 25px;
}

.main-category-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.main-category-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-category-title a:hover,
.main-category-title a.active {
    color: #ef4444;
}

.subcategories {
    list-style: none;
    padding-left: 15px;
}

.subcategories li {
    margin-bottom: 8px;
}

.subcategories a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.subcategories a:hover,
.subcategories a.active {
    color: #000;
    padding-left: 10px;
    font-weight: 500;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.page-title {
    font-size: 36px;
    font-weight: 400;
    color: #000;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
    background-color: #ffffff;
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #000;
}

.breadcrumbs span {
    color: #000;
    font-weight: 500;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
}

.no-products h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 15px;
}

.no-products p {
    color: #888;
    margin-bottom: 25px;
}

.block-button {
    width: 100%;
    display: flex;
    max-width: 1200px;
    justify-content: flex-end;
    margin: 0 auto;
}

.back-to-top {
    align-self: flex-end;
    width: 35px;
    height: 35px;
    border: none;
    background: #ffffff;
    color: #000;
    box-shadow: 0px 2px 5px 1px rgba(34, 60, 80, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease-out;
}

.back-to-top:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 7px 2px rgba(34, 60, 80, 0.2);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-catalog {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-to-catalog:hover {
    background: #333;
}

/* Main Header */
.main-header {
    background-color: #fff;
}

/* Header Top Section - White Background */
.header-top {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 80px;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 1;
    margin-top: 15px;
    text-align: center;
}

.logo a {
    text-decoration: none;
}

.header-icons {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
}

.left-side {
    max-width: 1000px;
    gap: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.left-side a {
    font-weight: 450;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    color: black;
    text-decoration: underline transparent;
}

.right-side {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
}

/* Mobile menu button hidden by default */
.mobile-menu-button {
    display: none;
}

.mail-icon,
.search-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #000;
}

.mail-icon:hover,
.search-icon:hover {
    background-color: #f5f5f5;
}

.mail-icon img,
.search-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Header Bottom Section - Black Background */
.header-bottom {
    background-color: #000;
}


.header-bottom .main-nav {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 1000px;
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    color: #F8D8CB;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    display: block;
    padding: 10px 0;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Active states for navigation */
.nav-link.active {
    color: #fff !important;
    opacity: 1 !important;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #F8D8CB;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 2px;
}


.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    padding-left: 25px;
}

.dropdown-menu a.active {
    background-color: #333;
    color: #fff;
    font-weight: 500;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-container {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-search {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.search-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    font-size: 16px;
    font-family: inherit;
}

.search-button {
    padding: 12px 20px;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.search-result-article {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.search-result-category {
    font-size: 12px;
    color: #999;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #666;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    color: white;
    font-weight: 600;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background-color: #10b981;
}

.notification-error {
    background-color: #ef4444;
}

.notification-info {
    background-color: #000;
}

/* Slider */
.slider-container {
    max-width: 1200px;
    margin: 50px auto;
}

.slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.main-content {
    padding: 20px 0;
    background-color: #fff;
}

.product-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
}

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

.products-grid:nth-child(3n)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #000000;
}

.products-grid > * {
    margin-bottom: 10px;
}


.product-card {
    width: 254px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
    display: block;
}


.product-card:hover {
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-image .white-block {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    position: absolute;
    transition: 0.3s ease;
    background-color: rgba(255, 255, 255, 0);
}

.product-image:hover .white-block {
    background-color: rgba(255, 255, 255, 0.3);
}

.white-block .more-btn {
    width: 40%;
    height: 13%;
    background-color: transparent;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
    color: transparent;
    transition: 0.3s ease;
    outline: none;
    border: none;
}

.product-image:hover .white-block .more-btn {
    color: black;
    background-color: #F8D8CB;
}

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

.product-image {
    position: relative;
    height: 360px;
    width: 254px;
    overflow: hidden;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
}



.product-info {
    padding-top: 2.5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 18px;
    text-align: center;
    font-weight: 500;
    color: #000;
}

.product-stock {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 8px;
}

.product-stock.out {
    color: #ef4444;
}

.product-article {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 400;
}

.product-action {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding: 12px 0;
    border-top: 1px dashed #e5e5e5;
    margin-top: 8px;
}

/* Product Detail Page */
.product-detail-page {
    padding: 40px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery .main-image {
    margin-bottom: 20px;
}

.product-gallery .main-image img {
    width: 100%;
    background-size: cover;
}

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnails img:hover {
    border-color: #000;
}

.product-detail-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.article-code {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.description {
    margin-bottom: 30px;
}

.description h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000;
}

.attributes {
    margin-bottom: 30px;
}

.attributes h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.attributes table {
    width: 100%;
    border-collapse: collapse;
}

.attributes td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Product Page Styles */
.product-page {
    padding: 40px 0 80px;
    background-color: #fff;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    height: 650px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.1);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #000;
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-info {
    color: #666;
    font-size: 14px;
}

.stock-size {
    text-decoration: none;
    color: #000;
}

.stock-size:before {
    color: #919191;
}

/* Product Accordion Styles */
.product-accordion {
    margin-top: 15px;
    border-top: 1px solid #F8D8CB;
    border-bottom: 1px solid #F8D8CB;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #F8D8CB;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-btn {
    width: 100%;
    padding: 20px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-btn:hover {
    background-color: #f8f9fa;
}

.accordion-btn.active {
    background-color: #f8f9fa;
}

.accordion-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding: 0 20px;
    background: #fff;
}

.accordion-content.active {
    display: block;
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.accordion-content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.accordion-content h4 {
    margin: 20px 0 10px 0;
    color: #555;
    font-size: 16px;
    font-weight: 600;
}

.accordion-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.accordion-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.accordion-content li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #666;
}

/* Specifications List */
.specifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specification-item {
    padding: 8px 0;
    border-bottom: 1px solid #F8D8CB;
}

.specification-item:last-child {
    border-bottom: none;
}

.specification-item strong {
    color: #333;
    margin-right: 8px;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.quantity-selector h4 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e5e5;
    background: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: #000;
    background-color: #f8f9fa;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 2px solid #e5e5e5;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.buy-now-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    background-color: #000;
    color: white;
}

.buy-now-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.request-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Order Section */
.order-section {
    padding: 80px 0;
    background-color: #fff;
}

.order-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.order-steps {
    margin-bottom: 50px;
}

.step-card {
    background: #f9f9f9;
    padding: 35px;
    border-left: 4px solid #000;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.step-title {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.contact-info {
    background: #F8D8CB;
    padding: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.contact-icon img {
    width: 12px;
    height: 12px;
}

.contact-text {
    font-size: 16px;
    color: #000;
}

.contact-email {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-phone {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.payment-info {
    background: #f9f9f9;
    padding: 30px;
    border-top: 4px solid #000;
}

.payment-title {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.payment-step {
    background: white;
    padding: 20px;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.payment-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.payment-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.documents-section {
    background: #ffffff;
    padding: 30px;
    margin-top: 40px;
}

.documents-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.document-item {
    background: white;
    padding: 20px;
    border: 2px dashed #ddd;
    text-align: center;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.document-icon {
    font-size: 24px;
    margin-bottom: 10px;

    img {
        width: 50px;
        height: 50px;
    }
}

.document-img {
    font-size: 24px;
    margin-bottom: 10px;
}

.document-name {
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.document-format {
    font-size: 14px;
    color: #666;
}

/* Information Pages */
.info-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.info-content {
    line-height: 1.8;
}

.info-section {
    margin-bottom: 50px;
}

.info-section h2 {
    font-size: 28px;
    font-weight: 300;
    color: #000;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

.info-section p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

/* Product List Section */
.product-list-section {
    padding: 80px 0;
    background-color: #fff;
}

.product-list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-list-title {
    font-size: 28px;
    font-weight: 300;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
}

.product-list-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.product-list-item {
    background: #f9f9f9;
    margin-bottom: 20px;
    padding: 25px;
    border-left: 4px solid #000;
    transition: all 0.3s ease;
    position: relative;
}

.product-list-item:hover {
    background: #f5f5f5;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8D8CB;
    font-size: 12px;
    font-weight: bold;
}

.product-name {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.product-features {
    margin-top: 10px;
    padding-left: 20px;
}

.product-feature {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    position: relative;
}

.product-feature:before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.sale-badge {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 10px;
}

.conclusion {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: #F8D8CB;
}

.conclusion-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 15px;
}

.conclusion-text {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

/* Contacts Section */
.contacts-section {
    padding: 80px 0;
    background-color: #fff;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: #f9f9f9;
    padding: 40px;
    border-left: 4px solid #000;
}

.contact-card-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.5;
}

.working-hours {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: #f9f9f9;
    padding: 25px;
    border-left: 3px solid #000;
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Requisites Section */
.requisites-section {
    padding: 80px 0;
    background-color: #fff;
}

.requisites-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info {
    background: #f9f9f9;
    padding: 40px;
    border-left: 4px solid #000;
    margin-bottom: 40px;
}

.company-name {
    font-size: 28px;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.requisites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.requisites-group {
    background: white;
    padding: 25px;
    border: 1px solid #e5e5e5;
}

.group-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.requisite-item {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.requisite-label {
    font-weight: 500;
    color: #333;
    min-width: 120px;
    margin-right: 20px;
}

.requisite-value {
    color: #000;
    font-weight: 400;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.bank-info {
    background: #f9f9f9;
    padding: 35px;
    border-left: 4px solid #000;
    margin-bottom: 40px;
}

.bank-title {
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
}

.bank-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.bank-item {
    margin-bottom: 12px;
}

.bank-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.bank-value {
    color: #000;
    font-weight: 400;
    font-size: 16px;
}

/* Supplier Contact */
.supplier-contact {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
}

.supplier-contact h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

/* Footer */
.footer-grid {
    display: grid;
    /* Создаем 4 колонки равной ширины (1fr) */
    grid-template-columns: repeat(4, 1fr);
    /* Фиксированное расстояние МЕЖДУ колонками (настраивайте под себя) */
    gap: 60px;

    padding: 60px 0;
    align-items: start; /* Выравнивание всех колонок по верхнему краю */
}

.footer-column {
    width: 100%; /* Занимает всю отведенную ячейку сетки */
}

.footer {
    background-color: #F8D8CB;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    padding: 0 20px 0 40px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 7em;
    margin-bottom: 50px;
}

.footer-column h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {

    margin-bottom: 12px;
}

.footer-column a {
    text-decoration: none;
    color: #444;
    transition: color 0.3s;

    font-weight: 500;


    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #000;
}

.footer-bottom p {
    font-size: 14px;
    color: #000;
}

.mailto {
    list-style-type: disc;
    font-weight: 900;
}

/* Catalog Page Styles */
.catalog-page {
    padding: 0px 0 64px;
}

/* Filters */
.catalog-filters {
    background: #fff;
    padding: 16px;
    position: sticky;
    top: 16px;
    height: fit-content;
    box-shadow: none;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.filters-title {
    font-size: 12px;
    font-weight: 400;
    color: #888888;
}

.filters-reset {
    background: none;
    border: 1px solid #E5E7EB;
    color: #000;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters-reset:hover {
    background: #f8f9fa;
}

/* Filter Groups */
.filter-group {
    border-top: 1px solid #F3F4F6;
    margin-bottom: 0;
}

.filter-group:first-child {
    border-top: none;
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    user-select: none;
}

.filter-group-title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 1em;
}

.filter-group-toggle {
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    transition: transform 0.3s ease;
    background: #fff;
}

.filter-group.open .filter-group-toggle {
    transform: rotate(180deg);
}

.filter-group-toggle::before {
    content: '+';
}

.filter-group.open .filter-group-toggle::before {
    content: '−';
}

.filter-group-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
}

.filter-group.open .filter-group-content {
    max-height: 500px;
}

/* Filter Lists */
.filter-list {
    list-style: none;
    padding: 0 0 8px 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 0;
    padding: 6px 0;
    margin-left: 2vw;
}

.filter-list a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
    padding: 0;
}

.filter-list a:hover,
.filter-list a.active {
    color: #000;
    font-weight: normal;
    text-decoration: underline;
    padding-left: 0;
}

/* Filter Blocks for checkboxes */
.filter-block {
    padding: 12px 0;
    border-top: 1px solid #F3F4F6;
}

.filter-block:first-of-type {
    border-top: none;
}

.filter-title {
    display: block;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Filter Controls */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 0;
}

.chip {
    border: 1px solid #E5E7EB;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    background: #fff;
    transition: all 0.3s ease;
}

.chip input {
    display: none;
}

.chip:hover {
    border-color: #000;
    background: #f8f9fa;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0;
}

.swatch {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.swatch input {
    display: none;
}

.swatch span {
    width: 20px;
    height: 20px;
    border: 1px solid #E5E7EB;
    transition: border-color 0.3s ease;
}

.swatch:hover span {
    border-color: #000;
}

.swatch input:checked + span {
    border-color: #000;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox input {
    width: 16px;
    height: 16px;
}

/* Catalog Results */
.catalog-results {
    min-height: 600px;
    padding: 27px;
}

.catalog-description {
    margin-bottom: 2em;
}

.catalog-title {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 1em;
    text-transform: none;
    letter-spacing: normal;
}

.catalog-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #807e7e;
}

.catalog-subtitle-separate {
    margin-bottom: 10px;
    color: #807e7e;
}

/* Remove old page header styles for catalog */
.catalog-results .page-header {
    display: none;
}

/* Catalog Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 0;
    border-bottom: none;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-select {
    border: 1px solid #E5E7EB;
    padding: 8px 12px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

/* Products Grid for Catalog */
.catalog-results .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.catalog-results .product-card {
    background: #fff;
    overflow: hidden;
    transition: 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.catalog-results .product-card:hover {
    transform: none;
}

.catalog-results .product-image {
    width: 100%;
    text-align: center;
    height: 360px;
    background: #fff;
}

.catalog-results .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.catalog-results .product-card:hover .product-image img {
    transform: none;
}

.catalog-results .product-info {
}

.catalog-results .product-price-line {
    display: none;
}

.catalog-results .product-price {
    font-size: 16px;
    font-weight: normal;
    color: #6B7280;
    text-align: left;
    text-decoration: none;
    padding: 0;
    border-top: none;
}

/* Admin Panel Styles */
.admin-panel {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-header {
    background: #000;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

.admin-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-title {
    font-size: 24px;
    font-weight: 700;
    color: #F8D8CB;
}

.admin-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-nav-btn {
    background: #F8D8CB;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.admin-nav-btn:hover {
    background: #e6c7b8;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title-admin {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-product-btn {
    background: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.add-product-btn:hover {
    background: #333;
}

/* Таблица товаров */
.table-responsive {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.products-table th,
.products-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.products-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #000;
}

.product-image-panel {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.status-active {
    color: #10b981;
    font-weight: 600;
}

.status-inactive {
    color: #ef4444;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-edit, .btn-delete, .btn-toggle {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    transform: translateY(0);
}

.btn-edit {
    background: #F8D8CB;
    color: black;
}

.btn-edit:hover {
    background: #efc2af;
    transform: translateY(-1px);
}

.btn-delete {
    background: #F8D8CB;
    color: black;
}

.btn-delete:hover {
    background: #efc2af;
    transform: translateY(-1px);
}

.btn-toggle {
    background: #F8D8CB;
    color: black;
}

.btn-toggle:hover {
    background: #efc2af;
    transform: translateY(-1px);
}

/* Форма добавления/редактирования */
.product-form {
    display: none;
    background: #f8f9fa;
    padding: 30px;
    margin-top: 20px;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e5e5;
    font-size: 14px;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

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

.form-checkbox {
    margin-right: 8px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-save, .btn-cancel {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-save {
    background: #10b981;
    color: white;
}

.btn-save:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-cancel {
    background: #6b7280;
    color: white;
}

.btn-cancel:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

/* Image Management */
.image-upload-area {
    border: 2px dashed #e5e5e5;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.image-upload-area:hover {
    border-color: #000;
}

.image-upload-area.drag-over {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.upload-icon {
    font-size: 48px;
    color: #6b7280;
    margin-bottom: 10px;
}

.upload-text {
    color: #6b7280;
    margin-bottom: 15px;
}

.file-input {
    display: none;
}

.upload-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

.image-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.image-preview {
    position: relative;
    display: inline-block;
}

.preview-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.preview-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.preview-btn {
    width: 25px;
    height: 25px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove {
    background: #ef4444;
    color: white;
}

.btn-main {
    background: #10b981;
    color: white;
}

.btn-main:disabled {
    background: #6b7280;
    cursor: not-allowed;
}

.existing-images {
    margin-top: 20px;
}

.existing-images-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.existing-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.existing-image {
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.existing-image.main {
    border-color: #10b981;
}

.existing-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.image-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.image-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #10b981;
    color: white;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
}

/* Атрибуты товара */
.attributes-container {
    margin-bottom: 15px;
}

.attribute-row {
    display: grid;
    grid-template-columns: 1fr 1fr 60px;
    gap: 10px;
    margin-bottom: 10px;
    align-items: end;
}

.attribute-input {
    padding: 8px 12px;
    border: 2px solid #e5e5e5;
    font-size: 14px;
    font-family: inherit;
}

.attribute-input:focus {
    outline: none;
    border-color: #000;
}

.remove-attribute-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.remove-attribute-btn:hover {
    background: #dc2626;
}

.attributes-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-attribute-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.add-attribute-btn:hover {
    background: #059669;
}

.add-attribute-btn:disabled {
    background: #6b7280;
    cursor: not-allowed;
}

.attributes-count {
    font-size: 12px;
    color: #666;
}

.existing-attributes {
    margin-top: 15px;
}

.existing-attribute {
    background: #f8f9fa;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 3px solid #000;
}

.attribute-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.attribute-name {
    font-weight: 600;
    color: #000;
}

.attribute-value {
    color: #333;
    line-height: 1.4;
}

.attribute-actions {
    display: flex;
    gap: 5px;
}

.btn-edit-attribute {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}

.btn-delete-attribute {
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}

/* Admin Login */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
}

.admin-login-box {
    background: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.admin-login-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.admin-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.admin-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.admin-form-input:focus {
    outline: none;
    border-color: #000;
}

.admin-submit-btn {
    width: 100%;
    padding: 14px;
    background: #000;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.admin-error, .admin-success {
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.admin-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.admin-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.admin-back-link {
    text-align: center;
    margin-top: 20px;
}

.admin-back-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.admin-back-link a:hover {
    color: #000;
}

/* Delivery Section */
.delivery-section {
    padding: 80px 0;
    background-color: #fff;
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-card {
    background: #fff;
    padding: 40px;
}

.card-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.highlight {
    background: #F8D8CB;
    padding: 3px 6px;
    font-weight: 600;
}

.warning {
    background: #fff3cd;
    padding: 3px 6px;
    font-weight: 600;
}

/* Delivery Options */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.delivery-category {
    background: #f9f9f9;
    padding: 30px;
    border-top: 4px solid #F8D8CB;
}

.category-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 25px;
    text-align: center;
}

.delivery-item {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-left: 3px solid #F8D8CB;
}

.delivery-region {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.delivery-price {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.free-shipping {
    color: #000000;
    font-weight: 600;
}

/* Recommendations */
.recommendations-section {
    background: #f0f9ff;
    padding: 30px;
    border-left: 4px solid #F8D8CB;
    margin-bottom: 40px;
}

.recommendations-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendations-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.recommendations-list li:before {
    content: "✓";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.external-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.external-link:hover {
    text-decoration: underline;
}

/* Pointe Information Section */
.pointe-info-section {
    padding: 80px 0;
    background-color: #fff;
}

.pointe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.measurement-steps {
    margin: 10px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.image-placeholder {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    text-align: center;
    padding: 10px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Width Guide */
.width-guide {
    margin: 30px 0;
}

.width-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.width-item {
    background: white;
    padding: 20px;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.width-code {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.width-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Shank Guide */
.shank-guide {
    margin: 30px 0;
}

.shank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.shank-item {
    background: white;
    padding: 20px;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.shank-code {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.shank-description {
    font-size: 14px;
    color: #666;
}

/* Fitting Methods */
.fitting-methods {
    margin: 30px 0;
}

.method-item {
    background: white;
    padding: 10px;
    margin-bottom: 20px;
}

.method-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.method-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.attention-note {
    display: flex;
    flex-wrap: wrap;
    max-width: 870px;
    background: #F8D8CB;
    padding: 20px;
    border-left: 4px solid #ddb7a6;
    border-right: 4px solid #ddb7a6;
}

.attention-title {
    font-size: 16px;
    font-weight: 600;
    color: #853a04;
    margin-bottom: 10px;
}

.attention-text {
    font-size: 14px;
    color: #852b04;
    line-height: 1.5;
}

/* Special Models */
.special-models {
    margin: 30px 0;
}

.model-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
}

.model-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.model-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Стили для изображения размерной таблицы */
.image-placeholder-down {
    height: auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    text-align: center;
    padding: 20px;
}

.image-placeholder-down img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-placeholder-down img:hover {
    transform: scale(1.02);
}

.placeholder-text {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Специфичные стили для больших изображений таблиц размеров */
.image-placeholder-big {
    width: 100%;
    height: auto;
    max-width: 900px;
    display: block;
    margin: 0 auto;
}

/* Slider Management */
.slider-image-preview {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.slider-image-preview:hover {
    border-color: #000;
}

.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.slider-actions {
    display: flex;
    gap: 8px;
}

.no-slider-images {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-slider-images p {
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .catalog-results .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 968px) {
    .payment-steps,
    .documents-grid,
    .contacts-grid,
    .faq-grid,
    .requisites-grid,
    .bank-details,
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .width-grid,
    .shank-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sidebar,
    .catalog-filters {
        position: static;
        order: 2;
        margin-bottom: 20px;
    }

    .catalog-content,
    .catalog-results {
        order: 1;
        padding: 0;
    }

    .header-top-content {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }

    .logo {
        position: static;
        transform: none;
        order: 2;
    }

    .header-icons {
        gap: 20px;
        justify-content: center;
        order: 3;
    }

    .header-bottom .main-nav {
        gap: 25px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .mobile-menu-button {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 101;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        color: #000;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 0;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        position: relative;
        color: #000 !important;
    }

    .nav-link::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .nav-item.active .nav-link::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f8f9fa;
        margin: 10px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
    }

    .nav-item.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        color: #000;
        border-bottom: 1px solid #ddd;
    }

    .dropdown-menu a:hover {
        background-color: #e9ecef;
        color: #000;
    }

    .slider {
        height: 300px;
    }

    .page-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .product-detail-layout,
    .product-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery .main-image img {
        height: 400px;
        max-width: 320px;
        align-self: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 30px;
        text-align: center;
    }

    .main-image {
        height: 400px;
        max-width: 320px;
        align-self: center;
    }

    .product-title {
        font-size: 24px;
    }

    .product-actions {
        flex-direction: column;
    }

    .buy-now-btn {
        min-width: auto;
    }

    .thumbnail-images {
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .thumbnail {
        flex-shrink: 0;
    }

    .accordion-btn {
        padding: 15px;
        font-size: 16px;
    }

    .accordion-content {
        padding: 15px;
    }

    .order-section,
    .delivery-section,
    .pointe-info-section,
    .contacts-section,
    .requisites-section,
    .product-list-section {
        padding: 40px 0;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .step-card,
    .info-card,
    .delivery-category,
    .contact-info-card,
    .company-info,
    .bank-info {
        padding: 25px;
    }

    .card-title {
        font-size: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: -12px;
        left: -12px;
    }

    .image-placeholder {
        height: auto;
    }

    .image-placeholder-down {
        padding: 15px;
        margin: 30px 0;
    }

    .image-placeholder-down img {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .catalog-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .catalog-results .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .product-image {
        padding: 15px;
        height: auto;
    }

    .admin-header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .products-table {
        font-size: 14px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .admin-section {
        padding: 20px;
    }

    .image-previews,
    .existing-images-grid {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        width: 100%;
        margin: 0 auto 20px;
    }

    .product-image {
        width: 100%;

    }

    .header-bottom .main-nav {
        gap: 15px;
        flex-direction: column;
    }

    .nav-link {
        font-size: 10px;
    }

    .header-top {
        padding: 20px 0;
    }

    .header-bottom {
        padding: 10px 0;
    }

    .dropdown-menu {
        margin: 5px 0;
    }

    .dropdown-menu a {
        padding: 8px 15px;
        font-size: 12px;
    }

    .header-icons {
        gap: 15px;
    }

    .search-container {
        padding: 20px;
        margin: 20px;
    }

    .search-input-container {
        flex-direction: column;
    }

    .page-title {
        font-size: 20px;
    }

    .sidebar {
        padding: 20px 15px;
    }

    .main-category-title {
        font-size: 14px;
    }

    .subcategories a {
        font-size: 13px;
    }

    .product-page {
        padding: 20px 0 40px;
    }

    .product-details {
        gap: 30px;
    }

    .main-image {
        height: 400px;
        max-width: 300px;
        align-self: center;
    }

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

    .quantity-controls {
        justify-content: center;
    }

    .breadcrumbs {
        font-size: 14px;
    }

    .catalog-results .products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-title {
        font-size: 18px;
    }

    .product-image {
        padding: 10px;
    }

    .product-info {
        padding: 0 12px 12px;
    }

    .step-card,
    .info-card,
    .delivery-category,
    .contact-info-card,
    .company-info,
    .bank-info {
        padding: 20px;
    }

    .requisites-group {
        padding: 20px;
    }

    .requisite-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .requisite-label {
        margin-bottom: 5px;
        min-width: auto;
    }

    .requisite-value {
        text-align: left;
    }

    .width-grid,
    .shank-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        margin-bottom: 10px;
        width: 27px;
        height: 35px;
    }

    .image-placeholder-down {
        padding: 10px;
        margin: 20px 0;
    }

    .placeholder-text {
        font-size: 12px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 10px;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 16px;
        height: 16px;
    }
}

/* ======================== МОБИЛЬНАЯ ВЕРСИЯ ======================== */

/* Общие стили для мобильных устройств */
@media (max-width: 768px) {

    /* Скрываем топ-бар на мобильных */
    .top-bar {
        display: none;
    }

    /* Основные изменения для header-top (белая часть) */
    .header-top {
        padding: 15px 0;
    }

    .header-top-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
        flex-direction: row;
    }

    /* Показываем кнопку бургер-меню */
    .mobile-menu-button {
        display: block !important;
        position: static;
        order: 1;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        padding: 10px;
        color: #000;
        z-index: 101;
        margin-right: 15px;
    }

    /* Логотип - центрируем */
    .logo {
        position: static !important;
        transform: none !important;
        order: 2;
        text-align: center;
        flex: 1;
        margin: 0;
    }

    .logo img {
        width: 130px !important;
        height: 75px !important;
    }

    /* Скрываем левую часть (текстовые ссылки) на мобильных */
    .header-icons .left-side {
        display: none;
    }

    /* Правая часть (иконки) */
    .header-icons {
        order: 3;
        flex: none;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Иконки почты и поиска - делаем меньше */
    .mail-icon,
    .search-icon {
        width: 35px;
        height: 35px;
        padding: 7px;
    }

    .mail-icon img,
    .search-icon img {
        width: 18px !important;
        height: 18px !important;
    }

    /* ======================== БУРГЕР-МЕНЮ ДЛЯ TOP SECTION ======================== */
    /* Контейнер для мобильного меню */
    .mobile-top-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1001;
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

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

    /* Кнопка закрытия мобильного меню */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        color: #000;
        padding: 10px;
    }

    /* Ссылки в мобильном меню */
    .mobile-top-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-top-links a {
        font-size: 18px;
        font-weight: 500;
        color: #000;
        text-decoration: none;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        transition: color 0.3s ease;
    }

    .mobile-top-links a:hover {
        color: #ef4444;
    }

    /* Затемнение фона при открытом меню */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    /* ======================== BOTTOM SECTION АДАПТИВ ======================== */
    /* Скрываем основную навигацию */
    .header-bottom .main-nav {
        display: none !important;
    }

    /* Создаем мобильную навигацию для категорий */
    .mobile-categories-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1003;
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

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

    /* Кнопка "Категории" в хедере */
    .categories-toggle-button {
        display: block !important;
        background: #000;
        color: #F8D8CB;
        border: none;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        width: 100%;
        text-align: left;
        position: relative;
    }

    .categories-toggle-button::after {
        content: '▼';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .categories-toggle-button.active::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Заголовок в мобильном меню категорий */
    .mobile-categories-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 2px solid #000;
    }

    .mobile-categories-title {
        font-size: 24px;
        font-weight: 600;
        color: #000;
    }

    /* Кнопка закрытия меню категорий */
    .categories-menu-close {
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        color: #000;
        padding: 5px;
    }

    /* Список категорий */
    .mobile-categories-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Элемент категории */
    .mobile-category-item {
        border: 1px solid #eee;
        overflow: hidden;
    }

    /* Кнопка категории */
    .mobile-category-button {
        width: 100%;
        background: #f8f9fa;
        border: none;
        padding: 18px 20px;
        text-align: left;
        font-size: 16px;
        font-weight: 500;
        color: #000;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.3s ease;
    }

    .mobile-category-button:hover {
        background: #e9ecef;
    }

    .mobile-category-button::after {
        content: '►';
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .mobile-category-item.active .mobile-category-button::after {
        transform: rotate(90deg);
    }

    /* Подкатегории */
    .mobile-subcategories {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: white;
    }

    .mobile-category-item.active .mobile-subcategories {
        max-height: 500px;
    }

    .mobile-subcategories a {
        display: block;
        padding: 15px 30px;
        color: #666;
        text-decoration: none;
        font-size: 15px;
        border-top: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .mobile-subcategories a:hover {
        background: #f8f9fa;
        color: #000;
        padding-left: 40px;
    }

    /* Кнопка "Категории" в хедере для мобильных */
    .mobile-categories-trigger {
        display: block !important;
        background: #000;
        color: #F8D8CB;
        border: none;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        width: 100%;
        text-align: left;
        position: relative;
        margin: 0;
    }

    .mobile-categories-trigger::after {
        content: '▼';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: transform 0.3s ease;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .logo img {
        width: 110px !important;
        height: 65px !important;
    }

    .mobile-menu-button {
        font-size: 24px;
        padding: 8px;
    }

    .mail-icon,
    .search-icon {
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .mobile-categories-trigger {
        padding: 10px 15px;
        font-size: 13px;
    }

    .mobile-categories-title {
        font-size: 20px;
    }

    .mobile-category-button {
        padding: 15px;
        font-size: 15px;
    }

    .mobile-subcategories a {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Для планшетов */
@media (min-width: 769px) {
    /* Скрываем кнопки мобильного меню на планшетах */
    .mobile-menu-button,
    .mobile-categories-trigger,
    .mobile-top-menu,
    .mobile-categories-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    /* Адаптируем обычную навигацию для планшета */
    .header-bottom .main-nav {
        gap: 30px;

    }

    .nav-link {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .logo img {
        width: 140px !important;
        height: 80px !important;
    }

    .header-icons .left-side a {
        font-size: 13px;
    }
}

/* ======================== АДАПТИВ ФУТЕРА ======================== */

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-column li {
        margin-bottom: 0;
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 15px;
        margin-top: 30px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* ======================== АДАПТИВ ГЛАВНОЙ СТРАНИЦЫ ======================== */

/* Адаптив для слайдера на главной */
@media (max-width: 1024px) {
    .slider {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .slider {
        height: 300px;
        margin: 20px auto;
    }

    .slider-container {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 200px;
    }
}

/* Адаптив для блока "Популярные товары" на главной */
@media (max-width: 1200px) {
    .main-content .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
    }

    .main-content .product-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .main-content .product-image {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 600px;
    }

    .main-content .product-card {
        max-width: 100%;
    }

    .main-content .product-image {
        height: 350px;
    }

    .main-content .product-name {
        font-size: 15px;
        height: auto;
        min-height: 40px;
        display: flex;
        align-items: center;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }

    .main-content .container {
        padding: 0 15px;
    }

    .main-content .product-section {
        margin-bottom: 50px;
        padding: 0 10px;
    }

    .main-content .section-title {
        font-size: 20px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 5px;
    }

    .main-content .product-card {
        width: 100%;
        margin-bottom: 15px;
        padding: 0;
    }

    .main-content .product-image {
        width: 90%;
        height: 400px;
        padding: 0;
    }

    .main-content .product-image .white-block .more-btn {
        width: 50%;
        height: 15%;
        font-size: 14px;
    }

    .main-content .product-info {
        padding: 10px 5px 0;
    }

    .main-content .product-name {
        font-size: 14px;
        line-height: 1.4;
        height: auto;
        min-height: 38px;
        margin-bottom: 8px;
    }

    .main-content .product-article {
        font-size: 12px;
        margin-bottom: 6px;
    }

    /* Скрываем кнопку "Подробнее" на очень маленьких экранах */
    @media (max-width: 360px) {
        .main-content .product-image .white-block .more-btn {
            font-size: 12px;
            padding: 5px;
        }
    }
}

@media (max-width: 576px) {
    .main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-content .product-card {
        margin-bottom: 10px;
    }

    .main-content .product-image {
        height: 400px;
    }

    .main-content .product-name {
        font-size: 13px;
        min-height: 36px;
    }

    .main-content .product-article {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .main-content .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 320px;
        margin: 0 auto;
    }

    .main-content .product-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 10px;
    }

    .main-content .product-image {
        height: 380px;
    }

    .main-content .product-name {
        font-size: 15px;
        min-height: auto;
        height: auto;
        margin-bottom: 10px;
    }

    .main-content .product-article {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .main-content .product-image .white-block .more-btn {
        width: 45%;
        height: 13%;
        font-size: 15px;
    }
}

/* Для очень маленьких телефонов */
@media (max-width: 375px) {
    .main-content .products-grid {
        max-width: 280px;
        gap: 20px;
    }

    .main-content .product-image {
        height: 260px;
    }

    .main-content .product-name {
        font-size: 14px;
    }
}

/* Для экранов меньше 320px */
@media (max-width: 320px) {
    .main-content .products-grid {
        max-width: 260px;
        gap: 15px;
    }

    .main-content .product-card {
        max-width: 240px;
    }

    .main-content .product-image {
        height: 240px;
    }

    .main-content .product-name {
        font-size: 13px;
    }
}

/* Планшеты в вертикальной ориентации */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .main-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .main-content .product-image {
        height: 400px;
    }
}

/* Планшеты в горизонтальной ориентации */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .main-content .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .main-content .product-image {
        height: 400px;
    }
}

/* Десктоп среднего размера */
@media (min-width: 1200px) {
    .main-content .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }

    .main-content .product-card {
        width: 254px;
    }

    .main-content .product-image {
        width: 254px;
        height: 400px;
    }
}

/* ======================== ОБЩИЕ УЛУЧШЕНИЯ ДЛЯ АДАПТИВА ======================== */

/* Плавное изменение размера изображений */
.main-content .product-image img {
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Улучшение читаемости текста на маленьких экранах */
@media (max-width: 768px) {
    .main-content .product-name {
        word-break: break-word;
        hyphens: auto;
    }
}

/* Сохранение пропорций изображений */
.main-content .product-image {
    position: relative;
    overflow: hidden;
}

.main-content .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Адаптив для блока "Товары не найдены" на главной */
@media (max-width: 768px) {
    .main-content .no-products {
        padding: 40px 15px;
    }

    .main-content .no-products h3 {
        font-size: 20px;
    }

    .main-content .no-products p {
        font-size: 15px;
    }

    .main-content .back-to-catalog {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Улучшение отступов для мобильных */
@media (max-width: 768px) {
    .main-content .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-content .product-section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ======================== СТИЛИ ПАГИНАЦИИ ======================== */

.pagination-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    display: block;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-link:hover {
    border-color: #000;
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.pagination-item.active .pagination-link {
    background-color: #000;
    color: white;
    font-weight: 600;
    border: none;
}

.pagination-prev,
.pagination-next {
    min-width: 80px;
}

.pagination-ellipsis .pagination-link {
    border: none;
    background: transparent;
    cursor: default;
    min-width: 30px;
}

.pagination-ellipsis .pagination-link:hover {
    background: transparent;
    transform: none;
    border: none;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.page-info {
    margin-left: 10px;
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

/* Стили для состояния загрузки */
.pagination-link.loading {
    position: relative;
    color: transparent;
}

.pagination-link.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e5e5;
    border-top-color: #000;
    animation: pagination-spinner 0.6s linear infinite;
}

@keyframes pagination-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность пагинации */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: 30px;
        padding-top: 20px;
    }

    .pagination-list {
        gap: 4px;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }

    .pagination-prev,
    .pagination-next {
        min-width: 70px;
        font-size: 13px;
    }

    .pagination-info {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination-link {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination-prev,
    .pagination-next {
        min-width: 60px;
        font-size: 12px;
    }

    .pagination-info {
        font-size: 12px;
    }

    .page-info {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Стили для мобильной адаптации сетки товаров */
@media (max-width: 768px) {
    .catalog-results .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .catalog-results .product-card {
        margin-bottom: 10px;
    }

    .catalog-results .product-image {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .catalog-results .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 320px;
        margin: 0 auto;
    }

    .catalog-results .product-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .catalog-results .product-image {
        height: 400px;
    }
}

/* Улучшение адаптивности для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .catalog-results .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .catalog-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
}

/* Десктоп */
@media (min-width: 1200px) {
    .catalog-results .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Стили для индикатора загрузки */
.loading-spinner .spinner {
    width: 40px;
    border-radius: 999px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

.loading-spinner p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Плавное появление товаров */
#productsGrid {
    transition: opacity 0.3s ease;
}

/* Улучшение адаптивности пагинации */
@media (max-width: 768px) {
    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-item {
        margin: 2px;
    }

    .pagination-link {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
    .catalog-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .pagination-info {
        font-size: 12px;
        text-align: center;
        width: 100%;
    }
}

/* ======================== АДАПТИВ АДМИН-ПАНЕЛИ - ТОЛЬКО ВАЖНЫЕ КОЛОНКИ ======================== */

/* Общие адаптивные стили для админ-панели */
@media (max-width: 1200px) {
    .admin-container {
        max-width: 98%;
        padding: 0 10px;
    }

    /* Скрываем ненужные колонки */
    .products-table th:nth-child(1), /* Изображение */
    .products-table td:nth-child(1),
    .products-table th:nth-child(4), /* Категории */
    .products-table td:nth-child(4),
    .products-table th:nth-child(5), /* Просмотры */
    .products-table td:nth-child(5) {
        display: none;
    }

    /* Оставляем: Артикул (2), Название (3), Статус (6), Действия (7) */
    .products-table th,
    .products-table td {
        padding: 8px 6px;
        font-size: 13px;
    }

    .action-buttons {
        flex-direction: row;
        gap: 5px;
    }

    .btn-edit, .btn-delete, .btn-toggle {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 45px;
    }
}

@media (max-width: 992px) {
    .admin-header-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 0 10px;
    }

    .admin-title {
        font-size: 16px;
        margin: 0;
    }

    .admin-nav {
        gap: 10px;
    }

    .admin-nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Компактная таблица */
    .products-table {
        font-size: 12px;
    }

    .products-table th,
    .products-table td {
        padding: 7px 5px;
    }

    .section-title-admin {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        font-size: 14px;
    }

    .add-product-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .admin-panel {
        padding: 0 5px;
    }

    .admin-header {
        padding: 10px 0;
        margin-bottom: 15px;
    }

    .admin-title {
        font-size: 14px;
    }

    .admin-nav-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .admin-section {
        padding: 12px 10px;
        margin-bottom: 15px;
    }

    /* Таблица без горизонтальной прокрутки - все помещается */
    .table-responsive {
        overflow-x: visible;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .products-table {
        width: 100%;
        min-width: 100%;
        font-size: 11px;
        margin: 0;
    }

    .products-table th,
    .products-table td {
        padding: 6px 4px;
        font-size: 11px;
    }

    /* Делаем текст в ячейках компактнее */
    .products-table td:nth-child(2) { /* Артикул */
        font-family: 'Courier New', monospace;
        font-size: 10px;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .products-table td:nth-child(3) { /* Название */
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .products-table td:nth-child(4) { /* Статус - теперь это 4-я колонка после скрытия других */
        width: 70px;
        text-align: center;
    }

    .products-table td:nth-child(5) { /* Действия - теперь 5-я колонка */
        width: 100px;
        min-width: 100px;
    }

    /* Кнопки действий */
    .action-buttons {
        display: flex;
        flex-direction: row;
        gap: 4px;
        justify-content: center;
    }

    .btn-edit, .btn-delete, .btn-toggle {
        padding: 4px 6px;
        font-size: 10px;
        min-width: 35px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Статус */
    .status-active, .status-inactive {
        font-size: 10px;
        padding: 3px 6px;
    }

    .section-title-admin {
        font-size: 13px;
        gap: 10px;
    }

    .add-product-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .admin-container {
        padding: 0 5px;
    }

    .admin-header {
        padding: 8px 0;
    }

    .admin-header-content {
        padding: 0 5px;
    }

    .admin-title {
        font-size: 13px;
        max-width: 60%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-nav {
        gap: 5px;
    }

    .admin-nav-btn {
        padding: 4px 8px;
        font-size: 10px;
    }

    .admin-section {
        padding: 10px 8px;
        margin-bottom: 12px;
    }

    /* Еще более компактная таблица */
    .products-table {
        font-size: 10px;
    }

    .products-table th,
    .products-table td {
        padding: 5px 3px;
        font-size: 10px;
    }

    /* Уменьшаем ширину колонок */
    .products-table td:nth-child(2) { /* Артикул */
        max-width: 70px;
        font-size: 9px;
    }

    .products-table td:nth-child(3) { /* Название */
        max-width: 120px;
        font-size: 10px;
    }

    .products-table td:nth-child(4) { /* Статус */
        width: 60px;
    }

    .products-table td:nth-child(5) { /* Действия */
        width: 90px;
        min-width: 90px;
    }

    /* Кнопки действий */
    .action-buttons {
        gap: 3px;
    }

    .btn-edit, .btn-delete, .btn-toggle {
        padding: 3px 5px;
        font-size: 9px;
        min-width: 30px;
        height: 24px;
    }

    .section-title-admin {
        font-size: 12px;
        gap: 8px;
    }

    .add-product-btn {
        padding: 4px 8px;
        font-size: 10px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .admin-title {
        font-size: 12px;
    }

    .admin-nav-btn {
        padding: 3px 6px;
        font-size: 9px;
    }

    .admin-section {
        padding: 8px 6px;
        margin-bottom: 10px;
    }

    /* Компактная таблица для очень маленьких экранов */
    .products-table {
        font-size: 9px;
    }

    .products-table th,
    .products-table td {
        padding: 4px 2px;
        font-size: 9px;
    }

    /* Еще меньше колонки */
    .products-table td:nth-child(2) { /* Артикул */
        max-width: 60px;
        font-size: 8px;
    }

    .products-table td:nth-child(3) { /* Название */
        max-width: 100px;
        font-size: 9px;
    }

    .products-table td:nth-child(4) { /* Статус */
        width: 50px;
        font-size: 8px;
    }

    .products-table td:nth-child(5) { /* Действия */
        width: 80px;
        min-width: 80px;
    }

    /* Мини-кнопки */
    .action-buttons {
        gap: 2px;
    }

    .btn-edit, .btn-delete, .btn-toggle {
        padding: 2px 4px;
        font-size: 8px;
        min-width: 25px;
        height: 22px;
    }

    /* Статус в компактном виде */
    .status-active, .status-inactive {
        font-size: 8px;
        padding: 2px 4px;
    }

    .status-active::before {
        content: "✓ ";
    }

    .status-inactive::before {
        content: "✗ ";
    }

    .section-title-admin {
        font-size: 11px;
    }

    .add-product-btn {
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* Для очень маленьких экранов (iPhone SE) */
@media (max-width: 375px) {
    .admin-title {
        font-size: 11px;
    }

    .admin-nav-btn {
        font-size: 8px;
        padding: 2px 4px;
    }

    /* Супер-компактная таблица */
    .products-table {
        font-size: 8px;
    }

    .products-table th,
    .products-table td {
        font-size: 8px;
        padding: 3px 1px;
    }

    .products-table td:nth-child(2) { /* Артикул */
        max-width: 50px;
        font-size: 7px;
    }

    .products-table td:nth-child(3) { /* Название */
        max-width: 80px;
        font-size: 8px;
    }

    .products-table td:nth-child(4) { /* Статус */
        width: 40px;
        font-size: 7px;
    }

    .products-table td:nth-child(5) { /* Действия */
        width: 70px;
        min-width: 70px;
    }

    .btn-edit, .btn-delete, .btn-toggle {
        font-size: 7px;
        padding: 1px 3px;
        min-width: 22px;
        height: 20px;
    }
}

/* ======================== ТАБЛИЦА СЛАЙДЕРА - ТОЛЬКО ВАЖНЫЕ КОЛОНКИ ======================== */

@media (max-width: 1200px) {
    /* Для таблицы слайдера оставляем: Изображение, Название, Действия */
    .products-table th:nth-child(3), /* Alt текст */
    .products-table td:nth-child(3),
    .products-table th:nth-child(4), /* Статус */
    .products-table td:nth-child(4),
    .products-table th:nth-child(5), /* Дата добавления */
    .products-table td:nth-child(5) {
        display: none;
    }

    .slider-image-preview {
        width: 80px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .slider-image-preview {
        width: 70px;
        height: 45px;
    }

    .products-table td:nth-child(2) { /* Название - теперь это 2-я колонка */
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .products-table td:nth-child(3) { /* Действия - теперь 3-я колонка */
        width: 80px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .slider-image-preview {
        width: 60px;
        height: 40px;
    }

    .products-table td:nth-child(2) { /* Название */
        max-width: 80px;
    }

    .products-table td:nth-child(3) { /* Действия */
        width: 70px;
        min-width: 70px;
    }
}

/* Улучшения для UX */
@media (max-width: 768px) {
    /* Делаем строки таблицы более читаемыми */
    .products-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .products-table tbody tr:hover {
        background-color: #f0f0f0;
    }

    /* Увеличиваем зону клика для кнопок */
    .btn-edit, .btn-delete, .btn-toggle {
        position: relative;
        cursor: pointer;
    }

    /* Для тач-устройств делаем кнопки больше визуально */
    @media (hover: none) and (pointer: coarse) {
        .btn-edit, .btn-delete, .btn-toggle {
            min-height: 28px;
            min-width: 32px;
        }
    }
}

/* ======================== АДАПТИВНЫЕ ФИЛЬТРЫ КАТАЛОГА ======================== */

/* Кнопка для открытия фильтров на мобильных */
.mobile-filters-toggle {
    display: none;
    margin-bottom: 15px;
}

.mobile-filters-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #000;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-filters-btn:hover {
    background: #333;
}

.mobile-filters-btn svg {
    transition: transform 0.3s ease;
}

.mobile-filters-btn.active svg {
    transform: rotate(180deg);
}

/* Кнопка закрытия фильтров на мобильных */
.mobile-filters-close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

/* --- Обновленный стиль страницы "О компании" (70/30) --- */

.about-page-section {
    padding: 40px 0 80px 0;
    background-color: #fff;
}

/* Заголовок страницы */
.about-main-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px; /* Крупный заголовок */
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px; /* Отступ до колонок */
    line-height: 1.2;
}

/* Контейнер-сетка (Flexbox) */
.about-layout-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Растягивает колонки по одинаковой высоте */
    gap: 40px; /* Отступ между текстовой и фото частью */
}

.about-layout-row-h2 {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ЛЕВАЯ КОЛОНКА (70%) */
.about-text-column {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяет контент */

}

.text-block p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.7;
}

.text-block--bold p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: justify;
}

.text-block-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1a1a1a;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.7;
}

.text-block-bottom--bold p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: justify;
}


.text-block p:last-child {
    margin-bottom: 0;
}

.text-block--bold p:last-child {
    margin-bottom: 0;
}

/* Жирная линия разделитель */
.bold-separator {
    margin: 10px 0; /* Отступы сверху и снизу от линии */
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}

.bold-separator--big {
    margin: 10px 0; /* Отступы сверху и снизу от линии */
    text-align: center;
    margin-top: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
}


/* ПРАВАЯ КОЛОНКА (30%) */
.about-image-column {
    flex: 0 0 40%; /* Занимает оставшееся место */
    max-width: 40%;
    position: relative;
}

.image-wrapper-full {
    width: 100%;
    height: 99%; /* Заполняет всю высоту колонки */
    min-height: 350px; /* Минимальная высота, если текста мало */
}

.image-wrapper-full img {
    width: 89.5%;
    height: 100%;
    object-fit: cover; /* Фото заполняет блок полностью, обрезая лишнее по краям */
    display: block;
}

@media (max-width: 1240px) {
    .header-top-content {
        padding: 0 10px 0 10px;
    }

    .main-nav {
        padding: 0 10px 0 10px;
    }

}

/* --- АДАПТИВНОСТЬ (Планшеты и мобильные) --- */
@media (max-width: 992px) {
    .about-layout-row {
        flex-direction: column; /* Блоки встают друг под другом */
        gap: 30px;
    }

    .about-text-column {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .about-image-column {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 400px; /* Фиксированная высота фото на мобильном */
    }

    .bold-separator {
        margin: 25px 0;
    }
}

/* --- Нижние блоки на странице About --- */

.about-bottom-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 10px; /* Отступ от верхней секции с фото */
    padding-top: 10px;
}

.bottom-text-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.bottom-text-block p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

/* Адаптив для нижних блоков */
@media (max-width: 768px) {
    .about-bottom-grid {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }
}

/* --- Секция галереи без разделения --- */

.about-gallery-fluid {
    display: flex;
    width: 100%;
    margin-top: 20px; /* Отступ от текстовых блоков */
    line-height: 0; /* Убирает микро-отступы снизу у картинок */
    gap: 0; /* Убирает пространство между колонками */
}

.gallery-item {
    flex:auto; /* Каждая картинка занимает ровно 25% ширины */
    img {
        width: 100%;
        height: 350px; /* Можно настроить фиксированную высоту для аккуратности */
        object-fit: cover; /* Картинки заполнят блок без искажения */
    }
}


/* Адаптив: на мобильных делаем 2х2 */
@media (max-width: 768px) {
    .about-gallery-fluid {
        flex-wrap: wrap;
    }

    .gallery-item {
        flex: 0 0 50%; /* По 2 картинки в ряд */
    }

    .gallery-item img {
        height: 250px;
    }
}

/* --- Секция Текст 40 / Фото 60 --- */

.about-feature-section {
    padding: 20px 0;
    background-color: #fff;
    max-height: 700px;
}

.feature-layout {
    display: flex;
    align-items: stretch; /* Растягиваем, чтобы блоки были одной высоты */
    gap: 20px; /* Без зазора между текстом и фото для строгого вида, либо добавьте по вкусу */
    max-height: 300px;
}

/* Левая колонка с текстом (40%) */
.feature-text-col {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 5px;
    text-align: justify;
    line-height: 1.7;
}

.feature-text-col--big {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.3;
}


/* Правая колонка с изображением (60%) */
.feature-image-col {
    flex: 0 0 62%;

}

.images_just {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.feature-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-content {
    display: block;
    overflow: hidden; /* Очистка потока */
    width: 100%;
}

/* --- Адаптив для секции с уникальным кодом (40/60) --- */

@media (max-width: 992px) {
    /* 1. Сбрасываем высоту всех родительских контейнеров */
    .about-feature-section,
    .feature-layout,
    .info-section {
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
    }

    .feature-layout {
        max-height: 700px;
    }

    /* 2. Текстовая колонка должна просто занимать место сверху */
    .feature-text-col {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        padding-bottom: 20px;
        display: block !important;
    }

    /* 3. КЛЮЧЕВОЕ: Работаем с картинкой */
    .feature-image-col {
        width: 100% !important;
        height: auto !important; /* Убираем 100% или 500px */
        position: relative !important; /* Отменяем absolute, если был */
        display: block !important;
    }

    .feature-image-col img {
        /* Принудительно выводим картинку из абсолютного позиционирования */
        position: static !important;
        width: 100% !important;
        height: auto !important; /* Картинка сама диктует высоту блоку */
        display: block !important;
        object-fit: contain !important; /* Чтобы она просто уменьшалась, а не обрезалась */
    }

    /* 4. Нижний блок теперь точно не залезет наверх */
    .text-block-bottom {
        clear: both !important; /* Очистка любых обтеканий */
        margin-top: 30px !important;
        display: block !important;
        position: relative !important;
    }
}

/* Настройки для самых маленьких экранов (смартфоны) */
@media (max-width: 480px) {
    .feature-text-col {
        padding: 30px 15px;
    }

    .feature-text-col--big {
        font-size: 18px !important;
    }

    .feature-image-col {
        height: 250px; /* Уменьшаем высоту картинки на телефонах */
    }
}


/* Мобильная версия фильтров */
@media (max-width: 768px) {
    .catalog-layout {
        display: block;
        position: relative;
    }

    /* Показываем кнопку открытия фильтров */
    .mobile-filters-toggle {
        display: block;
    }

    /* Скрываем обычные фильтры по умолчанию */
    .catalog-filters {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: block !important;
        box-shadow: none;
    }

    .catalog-filters.active {
        transform: translateX(0);
    }

    /* Показываем кнопку закрытия в мобильных фильтрах */
    .catalog-filters .filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        margin-bottom: 20px;
        border-bottom: 2px solid #000;
    }

    .mobile-filters-close {
        display: block;
    }

    /* Улучшаем отображение групп фильтров на мобильных */
    .filter-group {
        margin-bottom: 15px;
        border: 1px solid #e5e5e5;
        overflow: hidden;
    }

    .filter-group-header {
        padding: 15px;
        background: #f8f9fa;
        border-bottom: 1px solid #e5e5e5;
    }

    .filter-group-title {
        font-size: 16px;
        font-weight: 600;
        padding-left: 0;
    }

    .filter-group-content {
        padding: 15px;
        background: white;
    }

    .filter-list {
        padding: 0;
    }

    .filter-list li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .filter-list a {
        padding: 10px 15px;
        display: block;
        transition: all 0.3s ease;
        font-size: 15px;
    }

    .filter-list a:hover,
    .filter-list a.active {
        background: #f0f0f0;
        color: #000;
        padding-left: 20px;
        text-decoration: none;
    }

    /* Затемнение фона при открытых фильтрах */
    .filters-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .filters-overlay.active {
        display: block;
    }

    /* Основной контент каталога */
    .catalog-results {
        padding: 0;
        margin-top: 20px;
    }

    /* Делаем открытые группы фильтров более заметными */
    .filter-group.open {
        border-color: #000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .filter-group.open .filter-group-header {
        background: #000;
        color: white;
    }

    .filter-group.open .filter-group-title {
        color: white;
    }

    .filter-group-toggle {
        color: #000;
        border-color: #000;
    }

    .filter-group.open .filter-group-toggle {
        color: white;
        border-color: white;
    }
}

/* Планшетная версия */
@media (min-width: 769px) and (max-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }

    .catalog-filters {
        position: sticky;
        top: 20px;
        height: fit-content;
    }

    /* Скрываем мобильные элементы на планшетах */
    .mobile-filters-toggle,
    .mobile-filters-close,
    .filters-overlay {
        display: none !important;
    }
}

/* Десктопная версия */
@media (min-width: 1025px) {
    /* Скрываем мобильные элементы на десктопе */
    .mobile-filters-toggle,
    .mobile-filters-close,
    .filters-overlay {
        display: none !important;
    }

    .catalog-filters {
        position: sticky;
        top: 20px;
        height: fit-content;
        display: block !important;
    }
}

/* Улучшения для очень маленьких экранов */
@media (max-width: 480px) {
    .catalog-filters {
        padding: 15px;
    }

    .filter-group-header {
        padding: 12px;
    }

    .filter-group-content {
        padding: 12px;
    }

    .filter-list a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .mobile-filters-btn {
        padding: 10px 14px;
        font-size: 15px;
    }
}

/* Size Table Link Styles */
.size-table-link a {
    color: #000000;
    font-size: 18px;
    font-weight: 750;
    transition: 0.3s ease;
    text-decoration: underline transparent;
}

.size-table-link a:hover {
    text-decoration-color: black;
}

/* ======================== ПОЛНОЭКРАННАЯ ГАЛЕРЕЯ ======================== */

.fullscreen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.fullscreen-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Кнопка закрытия */
.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.fullscreen-close:active {
    transform: scale(0.95);
}

.fullscreen-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

/* Навигационные кнопки */
.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-nav svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

/* Контейнер изображения */
.fullscreen-image-container {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 100px;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.fullscreen-image.loaded {
    opacity: 1;
}

/* Лоадер */
.fullscreen-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-loader.loading {
    display: flex;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Счетчик изображений */
.fullscreen-counter {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 0;
    z-index: 10;
}

/* Миниатюры */
.fullscreen-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    max-width: 100%;
}

.fullscreen-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.5;
    flex-shrink: 0;
}

.fullscreen-thumbnail:hover {
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-thumbnail.active {
    border-color: white;
    opacity: 1;
    transform: scale(1.1);
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fullscreen-gallery {
    animation: fadeIn 0.3s ease-out;
}

/* ======================== АДАПТИВ ПОЛНОЭКРАННОЙ ГАЛЕРЕИ ======================== */

@media (max-width: 1024px) {
    .fullscreen-nav {
        width: 60px;
        height: 60px;
    }

    .fullscreen-nav svg {
        width: 24px;
        height: 24px;
    }

    .fullscreen-image-container {
        margin: 0 80px;
    }

    .fullscreen-thumbnail {
        width: 50px;
        height: 50px;
    }

    .fullscreen-counter {
        bottom: 90px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .fullscreen-nav {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
    }

    .fullscreen-nav svg {
        width: 20px;
        height: 20px;
    }

    .fullscreen-prev {
        left: 10px;
    }

    .fullscreen-next {
        right: 10px;
    }

    .fullscreen-close {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
    }

    .fullscreen-close svg {
        width: 20px;
        height: 20px;
    }

    .fullscreen-image-container {
        margin: 0 70px;
        max-width: 95%;
        max-height: 75%;
    }

    .fullscreen-thumbnails {
        bottom: 15px;
        gap: 8px;
    }

    .fullscreen-thumbnail {
        width: 45px;
        height: 45px;
    }

    .fullscreen-counter {
        bottom: 80px;
        font-size: 15px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .fullscreen-nav {
        width: 40px;
        height: 40px;
    }

    .fullscreen-nav svg {
        width: 16px;
        height: 16px;
    }

    .fullscreen-prev {
        left: 5px;
    }

    .fullscreen-next {
        right: 5px;
    }

    .fullscreen-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .fullscreen-close svg {
        width: 18px;
        height: 18px;
    }

    .fullscreen-image-container {
        margin: 0 50px;
        max-height: 70%;
    }

    .fullscreen-thumbnails {
        bottom: 10px;
        gap: 6px;
        padding: 8px;
    }

    .fullscreen-thumbnail {
        width: 40px;
        height: 40px;
    }

    .fullscreen-counter {
        bottom: 70px;
        font-size: 14px;
        padding: 5px 10px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 375px) {
    .fullscreen-thumbnails {
        gap: 4px;
    }

    .fullscreen-thumbnail {
        width: 35px;
        height: 35px;
    }

    .fullscreen-image-container {
        margin: 0 40px;
    }
}

/* Для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .fullscreen-nav,
    .fullscreen-close,
    .fullscreen-thumbnail {
        min-height: 44px;
        min-width: 44px;
    }

    .fullscreen-nav:active,
    .fullscreen-close:active {
        background: rgba(255, 255, 255, 0.3);
    }

    .fullscreen-thumbnail:active {
        transform: scale(0.95);
    }
}

/* Улучшение доступности */
.fullscreen-gallery *:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Предотвращение выделения текста */
.fullscreen-gallery {
    user-select: none;
    -webkit-user-select: none;
}

/* Анимация перехода между изображениями */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-right {
    animation: slideInRight 0.3s ease-out;
}

.slide-left {
    animation: slideInLeft 0.3s ease-out;
}

.category-description {
    margin-bottom: 40px;

}

.category-description-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.category-description-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.category-description-content p {
    margin-bottom: 20px;
}

.category-description-content p:last-child {
    margin-bottom: 0;
}

/* ======================== ОГРАНИЧЕНИЕ ПРЕВЬЮ ИЗОБРАЖЕНИЙ ======================== */

/* Контейнер для превью изображений */
.thumbnail-images {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

/* Превью изображения */
.thumbnail {
    width: 80px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #000;
    transform: scale(1.05);
}

/* Индикатор "еще изображений" */
.more-images-indicator {
    width: 80px;
    height: 100px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.more-images-indicator:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #000;
    transform: scale(1.05);
}

/* Адаптив для превью */
@media (max-width: 768px) {
    .thumbnail-images {
        gap: 10px;
        padding: 8px 0;
    }

    .thumbnail {
        width: 70px;
        height: 90px;
    }

    .more-images-indicator {
        width: 70px;
        height: 90px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .thumbnail-images {
        gap: 8px;
        padding: 5px 0;
    }

    .thumbnail {
        width: 60px;
        height: 80px;
    }

    .more-images-indicator {
        width: 60px;
        height: 80px;
        font-size: 14px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 375px) {
    .thumbnail {
        width: 50px;
        height: 70px;
    }

    .more-images-indicator {
        width: 50px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .category-description {
        padding: 20px;
        margin-bottom: 30px;
    }

    .category-description-title {
        font-size: 24px;
    }

    .category-description-content {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .category-description {
        padding: 15px;
        margin-bottom: 25px;
    }

    .category-description-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

.materials-list {
    margin-left: 18px;
}
