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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Header & Navigation */
header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo h1 {
    color: #f39c12;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #f39c12;
}

.phone a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    background: #e74c3c;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.phone a:hover {
    background: #c0392b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: #27ae60;
    color: white;
}

.btn-small:hover {
    background: #229954;
}

/* Products Preview */
.products-preview {
    padding: 4rem 0;
    background: #f8f9fa;
}

.products-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.product-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Why Us Section */
.why-us {
    padding: 4rem 0;
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature h3 {
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Catalog Page */
.catalog-header {
    background: #34495e;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.catalog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.catalog {
    padding: 3rem 0;
}

.category {
    margin-bottom: 3rem;
}

.category h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f39c12;
}

.products-list {
    display: grid;
    gap: 1rem;
}

.product-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.price {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contacts Page */
.contacts-header {
    background: #16a085;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.contacts-info {
    padding: 3rem 0;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.working-hours {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.working-hours h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.working-hours table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.working-hours td {
    padding: 0.8rem;
    border-bottom: 1px solid #ecf0f1;
}

.working-hours td:last-child {
    text-align: right;
    font-weight: bold;
    color: #27ae60;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: #f39c12;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-item {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Catalog Categories Grid */
.catalog-categories {
    padding: 3rem 0;
    background: #f8f9fa;
}

.catalog-categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.3);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.category-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Category Page */
.category-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 3rem 0;
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-5px);
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Products Table */
.category-products {
    padding: 3rem 0;
}

.category-products h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.products-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

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

.products-table thead {
    background: #34495e;
    color: white;
}

.products-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

.products-table th:last-child {
    text-align: center;
}

.products-table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.2s;
}

.products-table tbody tr:hover {
    background: #f8f9fa;
}

.products-table td {
    padding: 1.2rem;
}

.product-name {
    font-weight: 500;
    color: #2c3e50;
}

.product-price {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
}

.products-table td:last-child {
    text-align: center;
}

/* Category Info Section */
.category-info {
    padding: 3rem 0;
    background: #f8f9fa;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.info-card p {
    color: #7f8c8d;
}

.category-cta {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.category-cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

/* Responsive for categories */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-table {
        overflow-x: auto;
    }
    
    .products-table table {
        min-width: 600px;
    }
}
/* Floating Messenger Buttons */
.messenger-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.messenger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.messenger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.messenger-btn.whatsapp {
    background: #25D366;
}

.messenger-btn.viber {
    background: #665CAC;
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn svg {
    width: 28px;
    height: 28px;
}

/* Pulse animation on hover */
.messenger-btn:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .messenger-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .messenger-btn {
        width: 55px;
        height: 55px;
    }
    
    .messenger-btn svg {
        width: 26px;
        height: 26px;
    }
}
/* Contact CTA Section on Homepage */
.contact-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Messengers Info on Contacts Page */
.messengers-info {
    margin-top: 3rem;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.messengers-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.messenger-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.messenger-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 140px;
}

.messenger-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.whatsapp-link {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.viber-link {
    background: linear-gradient(135deg, #7360f2 0%, #5e4fc3 100%);
}

.telegram-link {
    background: linear-gradient(135deg, #0088cc 0%, #005f8c 100%);
}

.messenger-icon {
    font-size: 2.5rem;
}

.messenger-link span:last-child {
    font-size: 1.1rem;
}

/* Working Hours Table Styles Update */
.working-hours td:last-child {
    text-align: right;
    font-weight: bold;
}

.working-hours tr:nth-child(2) td:last-child,
.working-hours tr:nth-child(3) td:last-child {
    color: #e74c3c;
}

.working-hours tr:first-child td:last-child {
    color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .messenger-links {
        flex-direction: column;
    }
    
    .messenger-link {
        width: 100%;
        max-width: 300px;
    }
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.catalog-btn-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Popular Products Section */
.products-grid-popular {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card-popular {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2c3e50;
    display: block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card-popular:hover::before {
    transform: scaleX(1);
}

.product-card-popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: #f39c12;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.map-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.map-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.map-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.map-placeholder:hover .map-btn {
    background: #f39c12;
    color: white;
    transform: scale(1.05);
}

.location-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.location-info p {
    margin: 0.8rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.location-info strong {
    color: #e74c3c;
}

/* Quick Order Form */
.quick-order {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quick-order h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 1rem;
}

.success-message {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h3 {
    color: #27ae60;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-quick-order {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.btn-quick-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.5);
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

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

.popup-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.popup-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.popup-form {
    margin-bottom: 0;
}

.popup-success {
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Header */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-quick-order {
        width: 100%;
    }
    
    .phone {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Calculator Page */
.calculator-header {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.calculator-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.calculator-section {
    padding: 3rem 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.calculator-form,
.calculator-result {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.calculator-form h2,
.calculator-result h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid #e67e22;
    padding-bottom: 0.5rem;
}

.calc-select,
.calc-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #e67e22;
    background: #fff5ed;
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + span {
    color: #e67e22;
    font-weight: bold;
}

.radio-option span {
    font-size: 1rem;
    color: #2c3e50;
}

.calc-select:focus,
.calc-input:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.calc-select {
    cursor: pointer;
    background: white;
}

#calculateBtn {
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

#calculateBtn:hover {
    background: linear-gradient(135deg, #d35400 0%, #ba4a00 100%);
}

/* Result Block */
.result-placeholder {
    text-align: center;
    color: #95a5a6;
    font-size: 1.1rem;
    padding: 3rem 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.result-label {
    color: #7f8c8d;
    font-weight: 500;
}

.result-value {
    color: #2c3e50;
    font-weight: bold;
}

.result-item.total {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e67e22;
    border-bottom: 2px solid #e67e22;
}

.result-item.total .result-value {
    color: #e67e22;
    font-size: 1.5rem;
}

.result-item.price {
    border-bottom: none;
}

.result-item.price .result-value {
    color: #27ae60;
    font-size: 1.3rem;
}

.btn-order {
    width: 100%;
    margin-top: 2rem;
}

/* Calculator Info */
.calculator-info {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.calculator-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e67e22;
}

.info-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

.product-price-sheet {
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: bold;
}

.back-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-price-meter {
    color: #8e44ad;
    font-size: 1.1rem;
    font-weight: bold;
}

.quantity-inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-inputs span {
    color: #7f8c8d;
    font-weight: bold;
    white-space: nowrap;
}

.quantity-inputs .calc-input {
    flex: 1;
}

/* Корзина заказа */
.btn-add {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.btn-add:hover {
    background: #2980b9;
}

.order-cart {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
}

.order-cart h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.cart-item-text {
    color: #2c3e50;
    font-size: 0.95rem;
}

.cart-item-remove {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: #c0392b;
}

.success-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.success-message {
    position: relative;
}

.popup-success {
    position: relative;
}

.messenger-btn i {
    font-size: 1.6rem;
    color: white;
}

/* Мобильная версия таблицы */
@media (max-width: 768px) {
    .products-table table {
        font-size: 0.85rem;
    }
    
    .products-table th,
    .products-table td {
        padding: 0.5rem 0.3rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .product-price,
    .product-price-meter,
    .product-price-sheet {
        font-size: 0.85rem;
    }
    
    .btn-small {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

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