   /* Стили для кнопки-ссылки */
   
      /* Стили для кнопки-ссылки */
      .calculator-button {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 18px 32px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white !important;
        text-decoration: none;
        border-radius: 12px;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        min-width: 200px;
        text-transform: uppercase;
    }

    .calculator-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
        text-decoration: none;
        color: white !important;
    }

    .calculator-button:visited {
        color: white !important;
    }

    .calculator-button:active {
        transform: translateY(0);
    }

    
    .two-column {
        grid-template-columns: 1fr;
    }


    .before-after-block {
        max-width: 1200px;
        margin: 40px auto;
        padding: 40px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .before-after-title {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 40px;
        color: #333;
    }
    
    .before-after-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }
    
    .ba-carousel-section {
        position: relative;
        background: #f8f9fa;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .ba-section-title {
        text-align: center;
        color: #333;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .ba-carousel-container {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        height: 300px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    
    .ba-carousel-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        height: 100%;
    }
    
    .ba-carousel-slide {
        min-width: 100%;
        height: 100%;
        position: relative;
    }
    
    .ba-carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .ba-carousel-slide .ba-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        color: white;
        padding: 20px;
        text-align: center;
        font-weight: 500;
        border-radius: 0 0 10px 10px;
    }
    
    .ba-carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        border: none;
        color: white;
        font-size: 1.5rem;
        padding: 15px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .ba-carousel-nav:hover {
        background: rgba(0, 0, 0, 0.7);
        transform: translateY(-50%) scale(1.1);
    }
    
    .ba-carousel-nav.ba-prev {
        left: 10px;
    }
    
    .ba-carousel-nav.ba-next {
        right: 10px;
    }
    
    .ba-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    
    .ba-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .ba-indicator.ba-active {
        background: #007bff;
        transform: scale(1.2);
    }
    
    .ba-sync-info {
        text-align: center;
        color: #666;
        font-size: 0.9rem;
        margin-top: 20px;
        padding: 15px;
        background: #f1f3f4;
        border-radius: 10px;
    }
    
    @media (max-width: 768px) {
        .before-after-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .before-after-title {
            font-size: 2rem;
        }
        
        .ba-carousel-container {
            height: 250px;
        }
    }
    
    @media (max-width: 480px) {
        .ba-carousel-nav {
            padding: 10px;
            font-size: 1.2rem;
        }
        
        .ba-carousel-container {
            height: 200px;
        }
        
        .before-after-block {
            padding: 20px 10px;
        }
    }
    @media screen and (max-width: 768px) {
        #rec947984946 .t-cover {
          background-image: url('images/121.webp') !important;
        }
      
        #coverCarry947984946 {
          background-image: url('images/121.webp') !important;
        }
      }