

/* Start:/land/wpc-decking-boards/style.css?17863692406646*/
@import url('/land/wood-bruce/style.css');

.wpc-price-table th.th-photo {
    width: 200px;
    text-align: center;
}

.wpc-price-table th.th-characteristics {
    width: auto;
}

.wpc-price-table th.th-unit {
    width: 160px;
    text-align: center;
}

.wpc-price-table th.th-price {
    width: 250px;
    text-align: right;
    padding-right: 30px;
}

.td-photo-cell {
    text-align: center;
    vertical-align: top !important;
    padding: 16px 12px !important;
    background: #ffffff !important;
}

.photo-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 160px;
}

.product-badge-wrap {
    position: absolute;
    top: 6px;
    left: -4px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-green {
    background-color: #8cc63f;
    color: #ffffff;
}

.badge-red {
    background-color: #e50000;
    color: #ffffff;
}

.wpc-product-img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.td-specs-cell {
    vertical-align: top !important;
    padding: 16px !important;
    background: #ffffff !important;
}

.td-specs-cell .product-title {
    font-size: 16px;
    font-weight: 800;
    color: #2b325c;
    margin-bottom: 6px;
    line-height: 1.3;
}

.wpc-specs-subtext {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.wpc-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

.wpc-specs-list li {
    margin-bottom: 3px;
}

.wpc-specs-list li strong {
    color: #1f2937;
}

.td-price-cell {
    vertical-align: middle !important;
    text-align: right;
    padding-right: 30px !important;
}

.td-price-cell .price-amount {
    font-size: 15px;
    font-weight: 700;
    color: #2b325c;
}

.td-price-cell .price-amount.price-main {
    font-size: 18px;
    font-weight: 800;
    color: #2b325c;
}

.wpc-table-wrapper {
    border: 1px solid #3b447d !important;
    border-radius: 12px;
    overflow: hidden;
}

.wpc-footnote {
    padding: 12px 18px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    background: #f8fafc;
    border-top: 1px solid #3b447d !important;
}

/* Разделение между товарами ДПК на всю ширину таблицы */
.wpc-price-table:not(.wpc-fence-table) td.td-photo-cell,
.wpc-price-table:not(.wpc-fence-table) td.td-specs-cell,
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(4n) td {
    border-bottom: 3px solid #3b447d !important;
}

.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(13) td.td-photo-cell,
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(13) td.td-specs-cell,
.wpc-price-table:not(.wpc-fence-table) tbody tr:last-child td {
    border-bottom: none !important;
}

/* Чередование фона карточек товаров ДПК */
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+5),
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+6),
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+7),
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+8) {
    background-color: #f8fafc;
}

.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+5) td.td-photo-cell,
.wpc-price-table:not(.wpc-fence-table) tbody tr:nth-child(8n+5) td.td-specs-cell {
    background-color: #f8fafc !important;
}

/* Блок типов секций ограждений */
.wpc-fence-types-block {
    margin-top: 40px;
}

.fence-types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.fence-type-card {
    background: #ffffff;
    border: 1px solid rgba(59, 68, 125, 0.14);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 68, 125, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fence-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(59, 68, 125, 0.15);
    border-color: #3b447d;
}

.fence-type-img-wrap {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fence-type-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fence-type-name {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    color: #2b325c;
}

@media (max-width: 992px) {
    .fence-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wpc-price-table th.th-photo {
        width: 120px;
    }

    .photo-container,
    .wpc-product-img {
        max-width: 100px;
    }

    .product-badge-wrap {
        top: 2px;
        left: -2px;
    }

    .badge {
        font-size: 9px;
        padding: 2px 5px;
    }

    .td-specs-cell .product-title {
        font-size: 14px;
    }

    .wpc-specs-list {
        font-size: 12px;
    }

    .fence-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Таблицы ограждений (одинаковый фон ячеек + СТРОГО 1px #3b447d бордер) */
.wpc-fence-table th.th-name {
    width: auto;
}

.wpc-fence-table th.th-size {
    width: 170px;
    text-align: center;
}

.wpc-fence-table th.th-weight {
    width: 110px;
    text-align: center;
}

.wpc-fence-table th.th-unit {
    width: 90px;
    text-align: center;
}

.wpc-fence-table th.th-price {
    width: 170px;
    text-align: right;
    padding-right: 30px;
}

.wpc-fence-table tbody tr,
.wpc-fence-table tbody td {
    background-color: #ffffff !important;
}

.wpc-fence-table td.td-name {
    font-weight: 700;
    color: #2b325c;
    padding: 12px 16px;
}

.wpc-fence-table td.td-size,
.wpc-fence-table td.td-weight,
.wpc-fence-table td.td-unit {
    text-align: center;
    font-size: 13.5px;
    color: #374151;
}

.wpc-fence-table tbody td {
    border-right: 1px solid #3b447d !important;
    border-bottom: 1px solid #3b447d !important;
}

.wpc-fence-table tbody td:last-child {
    border-right: none !important;
}

.wpc-fence-table tbody tr:last-child td {
    border-bottom: none !important;
}
/* End */
/* /land/wpc-decking-boards/style.css?17863692406646 */
