/* Переменные должны быть такими же как в основном стиле */
.produkcija-page {
    --primary: #1A1E2B;
    --secondary: #2D4059;
    --accent: #EA5455;
    --light: #FFFFFF;
    --dark: #F5F5F5;
    --text: #333333;
    --text-light: #666666;
    --border: #E0E0E0;
}


:root {
    --primary: #1A1E2B;
    --secondary: #2D4059;
    --accent: #EA5455;
    --light: #FFFFFF;
    --dark: #F5F5F5;
    --text: #333333;
    --text-light: #666666;
    --border: #E0E0E0;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.5rem 0;
    background-color: var(--dark);
    margin-bottom: 2rem;
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

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

.breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-link:hover {
    color: var(--accent);
}

.breadcrumbs-current {
    color: var(--accent);
    font-weight: 500;
}

/* Product Card */
.product-detail {
    padding: 2rem 0 5rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--accent);
}

.product-main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 400px;
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1.5rem 0;
}

.product-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}



.product-price {
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-description p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}


.product-description h2{
font-size: 1.8rem;
  margin: 1.5rem 0 1.2rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.product-specs {
    margin-bottom: 2.5rem;
}

.specs-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

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

.specs-item {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.specs-name {
    flex: 0 0 40%;
    font-weight: 500;
    color: var(--text);
}

.specs-value {
    flex: 1;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(234, 84, 85, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}

.btn:hover {
    background-color: #D84343;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(234, 84, 85, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* Certificate Styles */
.product-certificate {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--dark);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.certificate-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.certificate-icon {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.certificate-content {
    flex: 1;
}

.certificate-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.certificate-content p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.certificate-details {
    margin-bottom: 1.5rem;
}

.certificate-detail {
    display: flex;
    margin-bottom: 0.5rem;
}

.detail-name {
    flex: 0 0 160px;
    font-weight: 500;
    color: var(--text);
}

.detail-value {
    color: var(--text-light);
}

.btn-certificate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-certificate:hover {
    background: #D84343;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem 0;
}

.modal-content {
    background-color: var(--light);
    max-width: 500px;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

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

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        grid-template-columns: 80px 1fr;
    }
    
    .product-thumb {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }
    
    .product-thumbnails {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .product-thumb {
        width: 80px;
        flex-shrink: 0;
    }
    
    .product-main-image {
        order: 1;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .specs-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .specs-name {
        flex: 1;
    }
    
    .certificate-card {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-detail {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .detail-name {
        flex: 1;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .breadcrumbs-list {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.2rem;
    }
}


/* Catalog Products */
.catalog-products {
    padding: 2rem 0 4rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.catalog-item {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.catalog-item-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.catalog-item-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.catalog-item:hover .catalog-item-image img {
    transform: scale(1.05);
}

.catalog-item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.catalog-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-item-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.catalog-item-price {
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 1rem;
}

.catalog-item-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.catalog-item-specs {
    margin-bottom: 1.5rem;
}

.catalog-item-spec {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.spec-name {
    color: var(--text);
}

.spec-value {
    color: var(--text-light);
	text-align: right;
}

.catalog-item-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(234, 84, 85, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    flex: 1;
}

.btn:hover {
    background-color: #D84343;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(234, 84, 85, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--dark);
}

.faq-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--light);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

/* Consultation Banner */
.consultation-banner {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 3rem 0;
    border-radius: 10px;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.banner-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.banner-btn:hover {
    background-color: #D84343;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-item-actions {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .catalog-item-image {
        height: 180px;
    }
    
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

