
/*
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff5e1;
    color: #333;
}
*/
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* чтобы всегда занимать всю высоту окна */
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff5e1;
    color: #333;
}

/* Основной контент занимает всё свободное пространство */
main {
    flex: 1;
}

/* Футер всегда внизу */
footer {
    margin-top: auto; /* подталкивает футер вниз */
}

/* Хедер */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar {
    padding: 10px 20px;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #E94E40;
    font-weight: bold;
}
.nav-link {
    font-weight: 600;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #E94E40;
}

/* Баннер */
.banner {
    position: relative;
    background-image: url('../img/baner.avif');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner::after {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background-color: rgba(0,0,0,0.4);
}
.banner-content {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}
.btn-custom {
    padding: 12px 24px;
    background-color: #E94E40;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-custom:hover {
    background-color: #c13d3a;
}

/* Популярные рецепты */
section {
    padding: 40px 20px;
}
h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: #4E342E;
}

/* Карточки */
.card {
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}

/* Звезды рейтинга */
.stars {
    display: flex;
    gap: 2px;
    margin-top: 8px;
}
.star {
    font-size: 14px;
    color: #FFD700;
}

/* Раздел блога / советы */
section.blog {
    background-color: #f9f0e1;
}
.logo {
    height: 40px;
    width: auto;
}
/* Внутренние стили для карточек блога */
.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
}

/* Видео секция */
section.video {
    padding: 40px 20px;
}

/* Подписка */
.subscribe-form input {
    border-radius: 20px;
    border: none;
    padding: 8px 15px;
    width: 100%;
}

/* Соцсети */
.social-icons a {
    color: #ccc;
    font-size: 20px;
    margin-right: 10px;
    transition: color 0.3s;
}
.social-icons a:hover {
    color: #fff;
}

/* Мобильная адаптация */
@media(max-width: 768px) {
    /* Можно дополнительно настроить для мобильных устройств */
}
.btn-xs {
    padding: 0.25rem 0.4rem; /* уменьшенные отступы */
    font-size: 10px; /* чуть меньше шрифта */
}
.col-name {
    flex: 3; /* увеличиваем ширину наименования */
}
.col-quantity {
    flex: 1; /* уменьшаем ширину поля количества */
}

@media (max-width: 768px) {
    .card-responsive {
        width: 175px !important;
    }
}
@media (max-width: 768px) {
    .card-title span {
        font-size: 0.8em; /* или любой другой размер */
    }
}
.small-btn {
    padding: 2px 4px;
    font-size: 10px;
    height: 24px; /* или любое подходящее значение */
    line-height: 1;
}

.smallx-btn {
    padding: 2px 4px;
    font-size: 17px;
    height: 29px; /* или любое подходящее значение */
    line-height: 1;
}

.small-input-group .btn {
    padding: 2px 6px; /* уменьшенные отступы внутри кнопки */
    font-size: 10px;  /* уменьшенный размер шрифта */
    height: auto;    /* высота по содержимому */
}

.small-input-group .form-control {
    font-size: 10px;   /* размер шрифта поля ввода */
    padding: 2px 6px; /* внутренние отступы */
    height: auto;     /* высота по содержимому */
    width: 40px;      /* ширина как у оригинала, или подставьте свою */
}
.nav-link{
    color: #78756e !important;
}
.nav-link.active {

     color: #494747 !important; /* цвет текста, например белый */
    background-color: #BFBAAE !important; /* цвет фона, например синий */
}

.sumkarz {
    margin-right: 30px;
}

@media (max-width: 768px) {
    .sumkarz
    {
        margin-right: 5px;
    }

}
.footermyclass
{
    background-color: #fff5e1 !important;
}
.buttonermyclass
{
    background-color: #78756e !important;
}
.card_back
{
      background-color: #fff5e1 !important;
}
.card_back:hover
{
    transform: none !important;
}
input[type="text" i] {
    padding-block: 1px !important;
    padding-inline: 2px !important;
}
input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i])
{
    overflow-clip-margin: 0px !important;
    overflow: clip !important;
}
.cart-products__item-quantity {
    flex-shrink: 0;
    width: 80px;
    margin-right: 30px;
    padding-top: 15px
}
.cart-products__item-quantity {
    margin-right: 0;
    padding-top: 0;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0
}
.d123
{
    width: 50px !important;
    flex: none !important;
}