table {
    border: 0px;
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    background-color: transparent;
}

img {
    border: 0;
}

hr {
    margin: 0 auto;
    padding: 0;
    height: 1px;
    border-style: solid none none;
    color: black;
}

#arrows {
    z-index: 70;
    opacity: 0.5;
    position: absolute;
    top: 0px;
}

#next,
#prev {
    top: 50px;
    position: absolute;
}

#prev {
    left: 265px;
}

#next {
    left: 860px;
}

#side_bar {
    width: 255px;
    vertical-align: top;
    text-align: center;
}

#right_content {
    padding-left: 20px;
    vertical-align: top;
}

#footer_menu {
    background: url("../images/footer_sep.png") repeat-x left top;
}

#footer_menu ul {
    margin: 0;
    padding: 10px 0 0 5px;
}

#footer_menu ul li {
    float: left;
    list-style: none outside none;
}

#footer_menu ul li a {
    display: block;
    text-decoration: none;
    padding: 0 10px;
    color: red;
    font-size: 85%;
}

#ico {
    margin-left: 795px;
}

#ico td {
    padding: 10px 0 10px 27px;
}

#docs {
    margin-top: 25px;
}

#docs a {
    text-decoration: none;
}

#txt {
    padding-left: 10px;
}

#txt p {
    font-size: 80%;
    font-weight: bold;
    margin: 20px 0 0;
}

#txt pre {
    font-size: 95%;
    font-weight: bold;
    margin: 20px 0 0;
}

#content_slider td {
    text-align: center;
    padding: 0 8px;
}

#print {
    margin-left: 470px;
}

#content_table {
    font-size: 80%;
    text-align: center;
    vertical-align: middle;
    width: 600px;
    margin-bottom: 20px;
    border: 1px solid black;
}

#content_table td {
    padding: 10px 2px;
    border: 1px solid black;
}

.punkt_menu_bg {
    background: url("../images/menu_sep.png") no-repeat center bottom;
}

.clear {
    clear: both;
}

.left {
    float: left;
}

.hidden {
    display: none;
}

.sep {
    background: url("../images/sep.png") repeat-x center top;
    height: 3px;
    margin: 25px auto;
}

.text1,
.text2,
.text3,
.text4 {
    font-weight: bold;
}

.text1 {
    text-transform: uppercase;
    color: red;
    text-shadow: 0px -1px 0px #9d9d9d;
    font-size: 90%;
}

.text2 {
    text-transform: uppercase;
    color: black;
    text-shadow: 0px -1px 0px #9d9d9d;
    font-size: 75%;
    text-decoration: none;
}

.text3 {
    text-decoration: none;
    color: #dd0023;
    font-size: 75%;
}

.text4 {
    font-size: 67%;
}

.left_text4 {
    font-size: 67%;
}

.article_text {
    text-indent: 20px;
    text-align: justify;
}

.img_s {
    margin-top: 0;
}

.right_border {
    border-right: 1px solid red;
}

.img1 {
    margin-top: 14px;
    margin-bottom: -10px;
}

.price {
    width: 600px;
    height: 531px;
}

.color1 {
    background-color: #eee;
    font-weight: bold;
}

.color2 {
    background-color: #e2dcdc;
}

.tab_head {
    font-size: 85%;
}

.t0e {
    position: absolute;
    left: -11000px;
    top: 0px;
    width: 150px;
    height: 25px;
    overflow: hidden;
}

table.t_size {
    border: 0 solid #000000;
    width: 100%;
    border-spacing: 15px;
    border-spacing: 15px;
    border-collapse: collapse;
}

table.t_size td {
    border: 1px solid #000000;
    padding-left: 4px;
}

table.t_size th {
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #000000;
    padding-left: 4px;
    text-align: center;
}

.catalog-l1item {
    /* float: right;*/
    width: 100%;
    padding: 3px;
    margin: 4px;
    font-weight: bold;
    text-align: left;
}


/*
.catalog_div {
    display: inline-block;
    width: 100%;
    padding: 3px;
    margin: 0 2% 0 2%;
    font-weight: bold;
    text-align: left;
}
*/

.catalog_div_main {
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    width: 100%;
    margin: 0 auto;
}

.catalog_div {
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    width: 100%;
    margin: 0 auto;
}

.catalog-l1item_a {
    color: red;
    font-weight: normal;
    text-decoration: none;
}

.catalog-l1item_a:hover {
    color: black;
}

div.catalog-item {
    float: left;
    width: 280px;
    height: 230px;
    padding: 3px;
    margin: 4px;
    display: block;
    overflow: hidden;
}

div.catalog-item_w3p {
    float: left;
    width: 310px;
    height: 260px;
    padding: 3px;
    margin: 4px;
    display: block;
}

.catalog-subimage {
    float: left;
    width: 60px;
    padding: 5px;
    border: 1px solid #d4d4d4;
    margin: 4px;
}

.catalog-l2item {
    /*float: left;*/
    width: 260px;
    height: 320px;
    padding: 3px;
    border: 1px solid #d4d4d4;
    margin: 4px;
    text-align: center;
    font-weight: normal;
    overflow: hidden;
}

.catalog-l2item_a {
    color: white;
    font-weight: normal;
    text-decoration: none;
}

.catalog-l2item_a:hover {
    color: black;
}

.catalog_item_sizes_a {
    color: black;
    font-weight: normal;
    text-decoration: none;
}

.catalog_item_sizes_a:hover {
    color: black;
    text-decoration: underline;
}

.catalog_item_sizes_td {
    text-align: center;
}

.catalog_item_sizes {
    display: table;
    width: 260px;
    text-align: left;
    font-size: 80%;
    border-spacing: 2px;
}

.catalog_l2item_body1 {
    float: left;
    width: 99%;
    height: 100%;
}

.catalog_l2item_body2 {
    float: left;
    width: 1%;
    height: 100%;
    text-align: bottom;
}

.catalog_item_span1 {
    color: red;
    float: left;
    width: 99%;
    height: 20px;
}

.catalog_item_img1 {
    position: relative;
    top: 265px;
    left: -60px;
    text-align: bottom;
}

.catalog_item_img2 {
    position: relative;
    top: -70px;
    left: -90px;
    text-align: bottom;
}

.item_name {
    background: red;
    color: #fff;
    text-decoration: none;
    padding: 4px 16px 3px;
    border: 0;
    height: auto;
    display: inline-block;
    cursor: pointer;
    border-bottom: 2px solid grey;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

.item_name_a {
    color: white;
    font-weight: normal;
    text-decoration: none;
}

.item_name_a:hover {
    color: black;
    text-decoration: underline;
}

.item_sizes_div {
    display: block;
    background: #d4d4d4;
    color: #fff;
    text-decoration: none;
    padding: 0px 0px 0px;
    border: 0;
    height: 165px;
    display: inline-block;
    cursor: pointer;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

.colorbox_group {
    float: none;
    width: 100%;
    height: 100px;
    padding: 0 0 10px 5px;
}

.colorbox {
    float: left;
    width: 70px;
    height: 80px;
    padding: 1px;
    margin: 9px;
    text-align: center;
    font-weight: normal;
}

.colorbox a {
    color: black;
    font-weight: none;
    text-decoration: none;
}

.colorbox a:hover {
    color: red;
}

.gallery {
    float: none;
    width: 910px;
    padding: 0px;
    margin: 0px;
}

.header3 {
    font-size: 14pt;
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

.ref_price {
    color: black;
    font-weight: normal;
    text-decoration: none;
}

.ref_price:hover {
    color: red;
    font-weight: normal;
    text-decoration: underline;
}

.ref_catalog {
    color: red;
    font-weight: normal;
    text-decoration: none;
}

.ref_catalog:hover {
    color: black;
    font-weight: normal;
    text-decoration: underline;
}

/* Кнопка открытия примеров работ */

.red-button {
            display: inline-block;
            padding: 14px 32px;
            font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
            font-weight: 600;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            color: white;
            background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); /* Красный градиент */
            border-radius: 50px;
            box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25); /* Красноватая тень */
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            letter-spacing: 0.3px;
        }

        .red-button:hover {
            box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
            transform: translateY(-2px);
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); /* Темнее при наведении */
        }

        .red-button:active {
            transform: translateY(0);
            box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
        }

/* Кнопки навигации */

.red-button-nav {
            display: inline-block;
            padding: 8px 14px;
            font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
            font-weight: 400;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            color: white;
            background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); /* Красный градиент */
            border-radius: 80px;
            box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25); /* Красноватая тень */
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            letter-spacing: 0.3px;
        }

        .red-button-nav:hover {
            box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
            transform: translateY(-2px);
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); /* Темнее при наведении */
        }

        .red-button-nav:active {
            transform: translateY(0);
            box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
        }
        
/* Каталог */

        /* Основной контейнер каталога */
        .catalog {
            max-width: 1400px;
            width: 100%;
            background: #ffffff;
            border-radius: 50px;
            padding: 50px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            border: 1px solid #f0f0f0;
        }

        /* Заголовок раздела */
        .catalog-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .catalog-header h1 {
            font-size: 3.5rem;
            font-weight: 700;
            color: #2d2d2d;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        .catalog-header h1 span {
            color: #c62828;
            position: relative;
            display: inline-block;
        }

        .catalog-header h1 span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(198, 40, 40, 0.2);
            border-radius: 4px;
            z-index: -1;
        }

        .catalog-header p {
            font-size: 1.2rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.5;
        }

        /* Сетка карточек */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        /* Карточка товара */
        .product-card {
            background: #ffffff;
            border-radius: 30px;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
            border: 1px solid #f0f0f0;
            overflow: hidden;
        }

        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 30px 40px -15px rgba(198, 40, 40, 0.2);
            border-color: #ffcdd2;
        }

        /* Бейдж */
        .product-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #c62828;
            color: white;
            padding: 8px 18px;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            z-index: 2;
            box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
        }

        .product-badge.hit {
            background: #455a64;
        }

        /* Изображение товара */
        .product-image {
            height: 240px;
            background: #fafafa;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 20px;
            border-bottom: 1px solid #f5f5f5;
        }

        .product-image i {
            font-size: 5rem;
            color: #b0bec5;
            transition: all 0.4s ease;
        }

        .product-card:hover .product-image i {
            color: #c62828;
            transform: scale(1.1) rotate(2deg);
        }

        /* Легкая текстура */
        .product-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(198, 40, 40, 0.02) 0%, transparent 100%);
            pointer-events: none;
        }

        /* Информация о товаре */
        .product-info {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #ffffff;
        }

        .product-category {
            font-size: 0.8rem;
            color: #c62828;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .product-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: #2d2d2d;
            /*margin-bottom: 12px;*/
            line-height: 1.3;
            margin-top: 0px;
            margin-bottom: 0px;
        }

        .product-description {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
            text-align: center;
            /*margin-bottom: 20px;
            flex: 1;*/
        }

        /* Характеристики */
        .product-specs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 20px;
            padding: 15px 0;
            border-top: 1px dashed #e0e0e0;
            border-bottom: 1px dashed #e0e0e0;
        }

        .spec-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.2rem;
            color: #555;
        }

        .spec-item i {
            color: #c62828;
            font-size: 1rem;
            width: 20px;
        }

        /* Цена и кнопка */
        .product-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: auto;
        }

        .product-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2d2d2d;
        }

        .product-price small {
            font-size: 0.9rem;
            font-weight: 400;
            color: #999;
            margin-left: 5px;
        }

        .product-btn {
            background: #c62828;
            border: none;
            color: white;
            width: 54px;
            height: 54px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            box-shadow: 0 8px 16px rgba(198, 40, 40, 0.2);
        }

        .product-btn:hover {
            background: #b71c1c;
            transform: rotate(360deg);
            border-radius: 27px;
        }

        /* Кнопка "Загрузить еще" */
        .load-more {
            text-align: center;
        }

        .load-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: #f5f5f5;
            border: none;
            color: #2d2d2d;
            padding: 16px 48px;
            font-size: 1.1rem;
            font-weight: 500;
            border-radius: 60px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .load-more-btn:hover {
            background: #c62828;
            color: white;
            gap: 20px;
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(198, 40, 40, 0.25);
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .catalog {
                padding: 40px 30px;
            }
            
            .catalog-header h1 {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 768px) {
            .catalog {
                padding: 30px 20px;
                border-radius: 30px;
            }
            
            .catalog-header h1 {
                font-size: 2.2rem;
            }
            
            .products-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .catalog-header h1 {
                font-size: 1.8rem;
            }
            
            .filter-btn {
                width: 100%;
            }
            
            .product-title {
                font-size: 1.4rem;
            }
        }
