/* _content/Radiomarket/Views/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-ilkxka6jyx] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-ilkxka6jyx] {
  color: #0077cc;
}

.btn-primary[b-ilkxka6jyx] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-ilkxka6jyx], .nav-pills .show > .nav-link[b-ilkxka6jyx] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-ilkxka6jyx] {
  border-top: 1px solid #e5e5e5;
}
.border-bottom[b-ilkxka6jyx] {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-ilkxka6jyx] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-ilkxka6jyx] {
  font-size: 1rem;
  line-height: inherit;
}

/* Закомментируем старые стили для класса .footer, т.к. используем flexbox */
/*
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
*/

/*Стили, которые сделал костя*/
/* Стили для прижатия подвала к низу */

html[b-ilkxka6jyx] {
    height: 100%; /* Заставляем html растянуться на всю высоту */
}

body[b-ilkxka6jyx] {
    min-height: 100vh; /* Заменяем % на vh для надежности */
    display: flex; /* Включаем Flexbox для body */
    flex-direction: column; /* Располагаем дочерние элементы (header, main, footer) в колонку */
}

.main-content[b-ilkxka6jyx] {
    padding-top: 30px;
    padding-bottom: 40px;
    flex-grow: 1; /* Добавляем обратно, если flex: 1 был удален */
}

/* Убедимся, что header и footer не сжимаются */
.site-header[b-ilkxka6jyx],
.site-footer[b-ilkxka6jyx] {
    flex-shrink: 0; /* Запрещаем им сжиматься, если контента будет слишком много (редко нужно, но для надежности) */
}

/* --- Остальные ваши стили (шапка, контент, подвал) идут ниже --- */
/* ... */

/* --- General Styles & Reset --- */

.container[b-ilkxka6jyx] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

button[b-ilkxka6jyx] {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

img[b-ilkxka6jyx] {
    max-width: 100%;
    display: block;
}

input[type="text"][b-ilkxka6jyx],
input[type="number"][b-ilkxka6jyx] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.btn[b-ilkxka6jyx] {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.95em;
    text-align: center;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* --- Header Styles --- */
.site-header[b-ilkxka6jyx] {
    background-color: #fff; /* White background for header area below top bar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Top Bar */
.top-bar[b-ilkxka6jyx] {
    background: linear-gradient(to right, #4CAF50, #2E8B57); /* Green gradient */
    color: #fff;
    padding: 5px 0;
    font-size: 0.85em;
    text-align: center; /* Center align text in top bar */
}

    .top-bar .container[b-ilkxka6jyx] {
        text-align: left; /* Align text left within container */
    }

/* Main Header */
.main-header[b-ilkxka6jyx] {
    background-color: #f0f0f0; /* Light grey background */
    padding: 10px 0;
}

/* --- Main Content Styles (Cart Page) --- */
.main-content[b-ilkxka6jyx] {
    padding-top: 30px;
    padding-bottom: 40px;
}

/* --- Footer Styles --- */
.site-footer[b-ilkxka6jyx] {
    background: #2d2d2d;
    color: #FFFFFF;
    padding: 30px 0; /* Adjusted padding for consistency */
    font-family: Arial, Helvetica, sans-serif;
    /* Убираем абсолютное позиционирование, мешающее flexbox */
    /* position: absolute; */
    /* bottom: 0; */
    /* width: 100%; */
    /* white-space: nowrap; */ /* Тоже может мешать, если контент должен переноситься */
    flex-shrink: 0; /* Оставляем, чтобы футер не сжимался */
}

.footer-container[b-ilkxka6jyx] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column[b-ilkxka6jyx] {
    flex: 1;
    min-width: 250px;
}

.footer-contact .footer-title[b-ilkxka6jyx] {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-contact .contact-label[b-ilkxka6jyx] {
    margin: 0 0 2px 0;
    font-size: 0.95em;
    font-weight: normal;
    opacity: 0.9;
}

.footer-contact .contact-detail[b-ilkxka6jyx] {
    margin: 0 0 15px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.footer-nav ul[b-ilkxka6jyx] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li[b-ilkxka6jyx] {
    margin-bottom: 8px;
}

.footer-nav a[b-ilkxka6jyx] {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1em;
    transition: opacity 0.2s ease;
}

    .footer-nav a:hover[b-ilkxka6jyx] {
        opacity: 0.8;
        text-decoration: underline;
    }

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .search-bar[b-ilkxka6jyx] {
        order: 3; /* Move search below logo/catalog on medium screens */
        width: 100%;
        flex-basis: 100%; /* Make it take full width */
        margin-top: 10px;
    }

    .header-actions[b-ilkxka6jyx] {
        order: 2; /* Keep actions after catalog */
    }

    .logo[b-ilkxka6jyx] {
        order: 1;
    }

    .catalog-button-wrapper[b-ilkxka6jyx] {
        order: 2;
    }
}


@media (max-width: 768px) {
    .header-container[b-ilkxka6jyx] {
        justify-content: center; /* Center items when they wrap */
    }

    .cart-item[b-ilkxka6jyx] {
        flex-direction: column; /* Stack item parts vertically */
        align-items: flex-start; /* Align left */
        gap: 15px;
    }

    .item-actions[b-ilkxka6jyx] {
        width: 100%; /* Make actions take full width */
        align-items: flex-start; /* Align left */
        flex-direction: row; /* Arrange price/qty/remove horizontally again */
        justify-content: space-between;
        flex-wrap: wrap; /* Allow wrapping within actions */
        gap: 15px; /* Add gap for wrapping */
    }

    .item-quantity[b-ilkxka6jyx] {
        order: 1; /* Adjust order if needed */
    }

    .item-price[b-ilkxka6jyx] {
        order: 0;
        font-size: 1.1em;
    }

    .remove-item-btn[b-ilkxka6jyx] {
        order: 2;
    }

    .cart-summary-actions[b-ilkxka6jyx] {
        justify-content: center; /* Center buttons */
    }

    /* Footer adjustments from previous step */
    .footer-container[b-ilkxka6jyx] {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer[b-ilkxka6jyx] {
        padding: 20px 0;
    }

    .footer-column[b-ilkxka6jyx] {
        min-width: 100%;
        margin-bottom: 20px;
    }

        .footer-column:last-child[b-ilkxka6jyx] {
            margin-bottom: 0;
        }

    .footer-nav[b-ilkxka6jyx] {
        margin-top: 10px;
    }
}

.contact-page[b-ilkxka6jyx] {
    padding-top: 30px; /* Отступ сверху для контента страницы */
    padding-bottom: 40px; /* Отступ снизу для контента страницы */
}

    .contact-page h1[b-ilkxka6jyx] {
        margin-bottom: 25px;
        font-size: 1.8em;
        color: #333;
        text-align: center;
        /* display: none; */ /* Раскомментируйте, если заголовок "Контакты" не должен отображаться */
    }

.contact-info[b-ilkxka6jyx] {
    margin-bottom: 30px; /* Отступ под блоком с текстом */
    line-height: 1.7; /* Увеличим межстрочный интервал для читаемости */
    font-size: 1em; /* Стандартный размер шрифта */
}

    .contact-info p[b-ilkxka6jyx] {
        margin-bottom: 8px; /* Небольшой отступ между строками информации */
    }

        .contact-info p strong[b-ilkxka6jyx] {
            /* Можно добавить стили для выделенных меток, если нужно */
            display: inline-block; /* Чтобы работали отступы справа */
            /* min-width: 100px; */ /* Можно задать минимальную ширину для выравнивания */
            /* margin-right: 5px; */
            font-weight: normal; /* Сделаем как на картинке, без жирности */
        }

.contact-map[b-ilkxka6jyx] {
    width: 100%;
    /* Стили для iframe карты, если вы его используете */
}

    .contact-map iframe[b-ilkxka6jyx] {
        display: block; /* Убрать лишний отступ под iframe */
        width: 100%;
        border: none; /* Убрать стандартную рамку iframe */
        min-height: 400px; /* Задать минимальную высоту карты */
    }

    /* Если используете placeholder div вместо iframe */
    .contact-map > div[style][b-ilkxka6jyx] { /* Стиль для placeholder-а, чтобы не конфликтовать с iframe */
        border-radius: 4px;
    }
