/*                    */
:root {
    --primary: #000000;
    --secondary-container: #fd761a;
    --secondary-hover: #9d4300;
    --on-primary: #ffffff;
    --surface: #f7f9fb;
    --surface-low: #f2f4f6;
    --text-main: #191c1e;
    --text-muted: #45464d;
    --border-color: #e0e3e5;
    --container-max: 1200px;
    --section-padding: 80px;
    --font-main: 'Public Sans', sans-serif;
    --font-heading: 'Work Sans', sans-serif;
    --subcat-text: #191c1e;
    --subcat-border: #e0e3e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--surface);
    color: var(--text-main);
    line-height: 1.5;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav-links {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
	flex: 1;
	justify-content: center;
    }
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu-toggle .material-symbols-outlined {
    font-size: 28px;
}

.mobile-menu-toggle .material-symbols-outlined {
    font-size: 28px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    animation: mobileNavOpen 0.26s ease-out;
}

@keyframes mobileNavOpen {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

    .nav-links a:hover {
        color: var(--primary);
    }

.nav-links .mobile-nav-divider,
.nav-links .mobile-nav-contacts {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-link {
    display: none;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-main);
}

@media (min-width: 1024px) {
    .phone-link {
        display: flex;
    }
}

/*        */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-container);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--secondary-hover);
        transform: translateY(-2px);
    }

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

/* Hero Section */
/*
.hero {
    min-height: 80vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('https://lh3.googleusercontent.com/aida-public/AB6AXuDyLbYPQgALL1z9pM8vz8imaG05_Ihb0JMCH5Qy8bqcqF3BG14G646ojAJKKqSKJE14Wh2_FFRk9Bg-o508UWWhfW2tKVGo8s4awggXOqgGWFLrKYRk7PdPVmGOBA8gvTR660quj7_s7VXdhDCwTQXMDMRQ2huiQazei9mVFf_XzM_guYHixynw0w0BPL5DvxOXgyQ6H5W5M2Qo2IhjxGgil7lnqY-5rMlmFEUjHNmtAaOCi3p4fit6nF5qaTS5YJJTAETJw2c04g');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}
    */
/* Hero Section - Оптимизировано под панорамное изображение */
/* Hero Section - Оптимизированный баланс */
.hero {
    background-color: #000; /* Фон секции — чисто черный, как на фото */
    background-image:
    /* 1. Накладываем сильное затемнение СЛЕВА, чтобы текст «горел» на черном фоне */
    linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%), url('/Images/12.jpg');
    /* 'cover' растянет картинку на всю ширину, 'center' выровняет её по середине */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh; /* Оптимальная высота для такой картинки */
    display: flex;
    align-items: center;
    color: white;
}

/* Настройка для мобильных, чтобы картинка не превращалась в «кашу» */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh; /* Возвращаем нормальную высоту */
        display: flex;
        align-items: center; /* Центрируем текст по вертикали */
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        
        /* 1. Вместо 'cover' или 'contain' используем ручной размер. 
           160% — это золотая середина: картинка шире экрана, но не слишком огромная по высоте. */
        background-size: 160% auto; 
        
        /* 2. Центрируем картинку, чтобы основные инструменты были в кадре */
        background-position: center; 
        
        background-repeat: no-repeat;
        background-color: #000;
        position: relative;
    }

    /* Добавим легкое затемнение поверх картинки именно для мобильных, 
       чтобы текст не сливался с инструментами */
    .hero::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* 50% затемнения */
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2; /* Текст выше затемнения */
        max-width: 100%;
    }

    .hero h1 {
        font-size: 28px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    }

    .hero p {
        font-size: 15px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    }
}
.hero-content {
    max-width: 700px;
}

.badge {
    background: var(--secondary-container);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero p {
    font-size: 18px;
    color: #e0e3e5;
    margin-bottom: 40px;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Features (Bento) */
.features {
    padding: var(--section-padding) 0;
    background: var(--surface-low);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 0 16px;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 100%;
}
.feature-card h3 {
    font-size: clamp(18px, 3vw, 22px);
    margin: 16px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card p {
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services */
.services {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 16px;
}

    .section-title h2 {
        font-size: clamp(24px, 4vw, 32px);
        margin-bottom: 16px;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.service-card {
    padding: 0 16px;
    max-width: 100%;
}

    .service-card img {
        width: 100%;
        max-width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 16px;
        margin-bottom: 24px;
    }

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

    .service-list li {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

        .service-list li span {
            flex-shrink: 0;
        }

/* Table */
.price-section {
    padding: var(--section-padding) 0;
    background: var(--surface-low);
}

.price-table-wrapper {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

th {
    background: var(--primary);
    color: white;
    text-align: left;
    padding: 16px 32px;
}

td {
    padding: 16px 32px;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background: #f8f9fa;
}


/* ====== АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ====== */

/* Планшеты и небольшие экраны (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Header */
     .header {
     height: auto;
     padding: 10px 0;
 }

 .header-content {
     position: relative;
 }

 .mobile-menu-toggle {
     display: inline-flex;
 }

 .nav-links {
     display: none;
     position: absolute;
     top: 60px;
     left: 0;
     right: 0;
     background: rgba(255, 255, 255, 0.98);
     border-bottom: 1px solid var(--border-color);
     flex-direction: column;
     padding: 10px 0;
     z-index: 1000;
 }

 .nav-links.active {
     display: flex;
     animation: mobileNavOpen 0.26s ease-out;
 }

 .nav-links a {
     padding: 12px 20px;
     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
     width: 100%;
 }

 .nav-links.active .mobile-nav-divider,
 .nav-links.active .mobile-nav-contacts {
     display: block;
 }

 .mobile-nav-divider {
     height: 1px;
     margin: 10px 20px;
     background: rgba(0,0,0,0.08);
 }

 .nav-links.active .mobile-nav-contacts {
     display: flex;
     flex-direction: column;
     gap: 10px;
     padding: 0 20px 14px;
 }

 .mobile-nav-phone {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     color: var(--text-main);
     text-decoration: none;
     font-weight: 700;
     padding: 10px 0;
 }

 .mobile-nav-phone .material-symbols-outlined {
     font-size: 20px;
 }

 .mobile-nav-social {
     display: flex;
     gap: 10px;
     padding-top: 8px;
 }

 .mobile-nav-social a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 38px;
     height: 38px;
     border-radius: 50%;
     text-decoration: none;
 }

     .mobile-nav-social a svg {
         width: 18px !important;
         height: 18px !important;
         display: block !important;
         flex-shrink: 0 !important;
     }

 .mobile-nav-social a[aria-label="Telegram"] {
     background: #E8F0FE;
     color: #1c7ed6;
 }

 .mobile-nav-social a[aria-label="WhatsApp"] {
     background: #e6f4ea;
     color: #128C7E;
 }

 .header-actions {
     gap: 12px;
 }

    /* Hero Section */
    .hero {
        min-height: 50vh;
        padding: 20px 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 24px !important;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 16px;
    }

    /* Sections */
    :root {
        --section-padding: 40px;
    }

    .features {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    /* Services */
    .services {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-card img {
        height: 200px;
    }

    /* Contact Form */
    .contact-grid {
        gap: 32px;
        padding: 40px 0;
    }

    /* Footer */
    footer {
        padding: 32px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 12px;
    }

    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .header-actions {
        gap: 12px;
    }

    /* Hero */
    .hero {
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 20px !important;
    }

    .hero p {
        font-size: 13px;
    }

    /* Features */
    .feature-card {
        padding: 20px;
    }

    /* Services */
    .service-card {
        padding: 0;
    }

    .service-card img {
        border-radius: 12px;
        height: 180px;
    }

    .service-list li {
        flex-direction: column;
        gap: 4px;
    }

    /* Tabs */
    .tabs-container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 30px;
    }

    /* Search */
    .search-wrapper {
        max-width: 100%;
        margin: 0 0 20px;
    }

    .search-input {
        padding: 12px 16px 12px 40px;
        font-size: 14px;
    }

    /* Footer */
    footer {
        padding: 24px 0;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 18px !important;
    }

    .hero p {
        font-size: 12px;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ====== АДАПТИВНОСТЬ ТАБЛИЦ ЦЕН ====== */

/* Убираем горизонтальный скролл, делаем таблицу адаптивной */
@media (max-width: 768px) {
    .price-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

        .price-table-wrapper table {
            min-width: 100%;
            width: 100%;
            table-layout: fixed;
        }
    .price-table th:first-child,
    .price-table td:first-child {
        width: 60%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: left !important;
    }

    .price-table th:last-child,
    .price-table td:last-child {
        width: 40%;
        text-align: right !important;
        white-space: nowrap;
    }

    th, td {
        padding: 10px 12px !important;
        font-size: 13px;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }

    th {
        padding: 12px 16px !important;
        font-size: 14px;
        word-wrap: break-word;
        max-width: 100%;
    }

    .subcategory-row td {
        padding: 10px 12px !important;
        font-size: 12px;
        text-align: left !important;
    }

    .subcategory-row td::after {
        right: 8px;
        font-size: 16px;
    }

    .price-table .subcategory-row td {
        text-align: left !important;
    }
}

/* На очень маленьких экранах делаем таблицу более компактной */
@media (max-width: 480px) {
    .price-table-wrapper table {
        min-width: 100%;
    }

    th, td {
        padding: 8px 10px !important;
        font-size: 12px;
    }

    .subcategory-row td {
        font-size: 11px;
        padding: 8px 10px !important;
        text-align: left !important;
    }

    .price-table td:last-child {
        white-space: nowrap;
    }
}

/* ====== АДАПТИВНОСТЬ КОНТАКТНОЙ ФОРМЫ ====== */

@media (max-width: 480px) {
    .form-group label {
        font-size: 14px;
    }

    input, textarea {
        padding: 10px;
        font-size: 14px;
        border-radius: 8px;
    }

    textarea {
        min-height: 120px;
    }
}

/* ====== УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ ====== */

/* Убираем hover эффекты на тач-устройствах */
@media (hover: none) {
    .btn-primary:hover {
        transform: none;
    }

    .nav-links a:hover {
        color: var(--text-muted);
    }

    .tab-btn:hover:not(.active) {
        border-color: var(--border-color);
        color: var(--text-muted);
    }
}

/* Предотвращаем горизонтальный скролл страницы */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Гарантируем, что изображения не выходят за рамки */
img {
    max-width: 100%;
    height: auto;
}

/* Адаптивность для вложенных контейнеров */
.container * {
    box-sizing: border-box;
}

/* ====== СТИЛИ ПОДКАТЕГОРИЙ И СТРОК ====== */

.subcategory-row {
    display: table-row;
    background: var(--subcat-bg);
    transition: background 0.2s;
}

.subcategory-row td {
    padding: 14px 32px !important;
    font-weight: 800;
    font-size: 15px;
    color: var(--subcat-text);
    border-bottom: 2px solid var(--subcat-border);
    cursor: pointer;
    user-select: none;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.subcategory-row:hover {
    background: #ffe8d1;
}

/* Иконка раскрытия (Material Symbols) */
.subcategory-row td::after {
    content: 'expand_more';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    font-size: 22px;
    color: var(--secondary-container);
}

.subcategory-row.subcat-open td::after {
    transform: rotate(180deg);
}

/* Логика поиска для подкатегорий */
.is-searching .subcategory-row:not(.has-results) {
    display: none !important;
}

.is-searching .subcategory-row.has-results {
    background: #fff1e6;
}

/* ====== СТРОКИ УСЛУГ (SERVICE ROWS) ====== */
.more-rows.service-row {
    display: none;
}

.more-rows.service-row.subcat-visible {
    display: table-row !important;
    animation: rowAppear 0.3s ease forwards;
}

/* Глобальное раскрытие через родительский контейнер */
#priceWrapper.expanded .more-rows.service-row {
    display: table-row;
}

#priceWrapper.expanded .more-rows.service-row.subcat-manually-closed {
    display: none !important;
}

/* Анимация появления строки */
@keyframes rowAppear {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.form-group {
    margin-bottom: 20px;
    max-width: 100%;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        word-wrap: break-word;
        max-width: 100%;
    }

input, textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--surface-low);
    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* Footer */
footer {
    background: #050505;
    color: white;
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

/*               (Tabs) */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 16px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    font-family: var(--font-main);
    color: var(--text-muted);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

    .tab-btn.active {
        background: var(--secondary-container);
        border-color: var(--secondary-container);
        color: white;
        box-shadow: 0 4px 15px rgba(253, 118, 26, 0.3);
    }

    .tab-btn:hover:not(.active) {
        border-color: var(--secondary-container);
        color: var(--secondary-container);
    }

/*        /                   */
.tab-content {
    padding: 0 16px;
    max-width: 100%;
    overflow-x: hidden;
    display: none; /*                           */
    animation: fadeIn 0.4s ease; /*                   */
}

    .tab-content.active {
        display: block; 
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*                         */
.more-rows {
    display: none; /*                     */
}

/*                            'expanded',                           */
.expanded .more-rows {
    display: table-row;
    animation: fadeInRow 0.3s ease-in-out;
}

@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*                      */
.expand-btn-container {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.btn-show-more {
    background: none;
    border: 2px solid var(--secondary-container);
    color: var(--secondary-container);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-show-more:hover {
        background: var(--secondary-container);
        color: white;
    }

    .btn-show-more .icon {
        transition: transform 0.3s;
    }

/*                                  */
.expanded-state .icon {
    transform: rotate(180deg);
}



/*                              */
.top-close-container {
    max-height: 0; /*                              */
    overflow: hidden;
    display: flex;
    justify-content: center; /*                   */
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

/*                      ,                      */
.expanded .top-close-container {
    max-height: 100px;
    padding: 20px 0 10px 0;
}

/*                         */
.more-rows {
    display: none; /*                                              */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/*                                      */
.expanded .more-rows {
    display: table-row; /*                               */
    opacity: 1;
    transform: translateY(0);
}

/*                                 /        */
.btn-toggle-prices {
    background: none;
    border: 2px solid var(--secondary-container);
    color: var(--secondary-container);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
}

    .btn-toggle-prices:hover {
        background: var(--secondary-container);
        color: white;
    }

    .btn-toggle-prices .icon {
        transition: transform 0.3s;
    }

/*                                 */
.expanded-state .icon {
    transform: rotate(180deg);
}





/*                  */
.search-wrapper {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    font-family: var(--font-main);
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

    .search-input:focus {
        border-color: var(--secondary-container);
        box-shadow: 0 0 0 4px rgba(253, 118, 26, 0.1);
    }

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/*           "                 " */
.no-results {
    display: none;
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-style: italic;
}

.expanded .more-rows {
    display: table-row !important;
}

tr.found {
    display: table-row !important;
    opacity: 1 !important;
}

.is-searching .price-table tbody tr:not(.found) {
    display: none !important;
}

/*                                              ,                 */
.is-searching .expand-btn-container,
.is-searching .top-close-container {
    display: none !important;
}




/*           ,                                                             */
.price-table td {
    vertical-align: middle !important; /*                         */
    padding-top: 16px !important; /*                              */
    padding-bottom: 16px !important; /*                             */
    line-height: 1.5; /*                                  */
}

/*                                                    */
.more-rows td {
    vertical-align: middle !important;
}

/*                        "       ",                     , 
                                    translateY           tr */
tr.found {
    display: table-row !important;
    opacity: 1 !important;
    transform: none !important; /*                   ,                              */
}

/*               ,                                  (             )                       */
.price-table td > * {
    vertical-align: middle;
}

.price-section .container {
    padding-left: 0;
    padding-right: 0;
}

/* Также убираем отступы у tab-content, если он есть внутри */
.price-section .tab-content {
    padding-left: 0;
    padding-right: 0;
}




