@font-face {
  font-family: 'Montserrat-Regular';
  src: url('https://static.insales-cdn.com/files/1/1444/36906404/original/Montserrat-Regular.eot');
  src: url('https://static.insales-cdn.com/files/1/1444/36906404/original/Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
  url('https://static.insales-cdn.com/files/1/1443/36906403/original/Montserrat-Regular.woff') format('woff'),
  url('https://static.insales-cdn.com/files/1/1442/36906402/original/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Medium';
  src: url('https://static.insales-cdn.com/files/1/1848/36906808/original/Montserrat-Medium.eot');
  src: url('https://static.insales-cdn.com/files/1/1848/36906808/original/Montserrat-Medium.eot?#iefix') format('embedded-opentype'),
  url('https://static.insales-cdn.com/files/1/1847/36906807/original/Montserrat-Medium.woff') format('woff'),
  url('https://static.insales-cdn.com/files/1/1846/36906806/original/Montserrat-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-SemiBold';
  src: url('https://static.insales-cdn.com/files/1/1446/36906406/original/Montserrat-SemiBold.eot');
  src: url('https://static.insales-cdn.com/files/1/1446/36906406/original/Montserrat-SemiBold.eot?#iefix') format('embedded-opentype'),
  url('https://static.insales-cdn.com/files/1/1447/36906407/original/Montserrat-SemiBold.woff') format('woff'),
  url('https://static.insales-cdn.com/files/1/1448/36906408/original/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Montserrat-Regular' !important;
  padding: 0px;
  margin: 0px;
}

html {
    font-family: 'Montserrat-Regular' !important;
}

.deliveryContainer {
    max-width: 900px;
    margin: 0 auto;
    height: auto;
}

a {
    color: #009e4a;
    text-decoration: none;
}

iframe {
    border: none;
    border-radius: 10px;
    width: 100%;
}

.deliveryContainer-description_mb {
    margin-bottom: 0px !important;
}

h3 {
    font-family: 'Montserrat-Regular';
    margin-bottom: 0px;
    padding: 0px;
}

.menu__item {
    padding: 5px 0px 3px 0px !important;
    font-size: 16px !important;
}

.header-top {
    padding-top: 14px;
}

.search .txt {
    width: 134px;
}

.deliveryContainer-description {
    margin-bottom: 20px;
    max-width: 780px;
    font-size: 18px;
}

.delMargin {
    margin-bottom: 10px;
}

.dostavka-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 18px;
}

.deliveryContainer-title {
    font-family: 'Montserrat-Regular';
    color: #333333;
    margin-bottom: 38px;
    font-size: 28px;
    text-align: left;
}

.deliveryContainerAddInformation {
    margin-bottom: 38px;
    background: #4fa57724;
    padding: 20px;
    border-radius: 10px;
}

p {
    line-height: 132%;
    color: #333333;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

.tabs-container {
    display: flex;
    flex-direction: column;
}

.main-tabs {
    font-family: 'Montserrat-Regular' !important;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.main-tab {
    font-family: 'Montserrat-Regular';
    padding: 8px 24px;
    background-color: white;
    color: #333;
    border: 1px solid #4FA577;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    /* Убираем order, который влияет на порядок */
    /* Все табы имеют одинаковый порядок */
}

.main-tab.active {
    font-family: 'Montserrat-Regular';
    border-radius: 40px;
    background-color: #ffffff;
    /* Убираем order: 1, который перемещал активный таб вперед */
    color: white;
    background: #4fa577;
}

.main-content {
    padding: 30px 0px;
    background-color: #fff;
    min-height: 500px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.sub-tabs-container {
    margin-top: 20px;
}

.sub-tabs-header {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    gap: 5px;
    margin-bottom: 20px;
}

.sub-tab {
    font-family: 'Montserrat-Regular' !important;
    padding: 10px 20px;
    background-color: white;
    color: #333;
    border: 1px solid #4fa577;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
    /* Убираем order, который влияет на порядок */
}

.sub-tab.active {
    font-family: 'Montserrat-Regular' !important;
    border-radius: 60px;
    background-color: #4fa577;
    color: white;
    /* Убираем order: 1, который перемещал активный подтаб вперед */
    border: none;
}

.sub-content {
    display: none;
    background-color: #e6f2ec;
    padding: 25px;
    border-radius: 10px;
}

.sub-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.sub-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.text-content {
    width: 800px;
    line-height: 138%;
    color: #555;
    font-size: 18px;
}

.image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.02);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th {
    background-color: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.data-table tr:hover {
    background-color: #f5f9fc;
}

.video-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #e74c3c, #e67e22);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 768px) {
    .main-tab, .sub-tab {
        font-family: 'Montserrat-Regular' !important;
        padding: 8px 15px;
        font-size: 14px;
    }

    .formatted-content {
        width: auto !important;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .full-width {
        grid-column: 1 / -1;
    }
}

/* Стили для форматированного контента */
.formatted-content {
    width: 138%;
    line-height: 1.6;
    color: #555;
    font-size: 18px;
}

.formatted-content h4 {
    color: #333;
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.formatted-content h5 {
    color: #444;
    margin: 20px 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.formatted-content p {
    margin-bottom: 15px;
}

/* Стили для списков */
.formatted-content ul,
.formatted-content ol {
    margin: 15px 0 15px 30px;
    padding-left: 10px;
}

.formatted-content li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.formatted-content ul {
    list-style-type: none;
}

.formatted-content ul li::before {
    content: "•";
    color: #41B8C3;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.formatted-content ol {
    list-style-type: decimal;
}

/* Стили для отступов и блоков */
.indented-block {
    margin-left: 30px;
    padding-left: 20px;
    border-left: 3px solid #6FE3ED;
}

.highlight-box {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-left: 4px solid #ffd54f;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.info-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.warning-box {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #f44336;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

/* Стили для таблиц */
.delivery-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.delivery-table th {
    background-color: #41B8C3;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.delivery-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.delivery-table tr:hover {
    background-color: #f5f9fc;
}

.delivery-table td:first-child {
    font-weight: 500;
    color: #333;
}

/* Стили для заметок */
.note {
    background: #f9f9f9;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    border-left: 4px solid #9e9e9e;
    font-size: 14px;
    color: #666;
}

.important {
    background: #fff3e0;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
    font-size: 14px;
    color: #5d4037;
}

#container {
    width: 1245px;
}
