

/* Start:/local/templates/metodist2/template_styles.css?17910308147988*/
@font-face {
    font-family: 'Brusnika';
    src: url('/local/templates/metodist2/assets/fonts/Brusnika.otf') format('opentype');
}

/* PT Sans - Regular */
@font-face {
    font-family: 'PT Sans';
    src: url('/local/templates/metodist2/assets/fonts/PT_Sans-Web-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* PT Sans - Italic */
@font-face {
    font-family: 'PT Sans';
    src: url('/local/templates/metodist2/assets/fonts/PT_Sans-Web-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* PT Sans - Bold */
@font-face {
    font-family: 'PT Sans';
    src: url('/local/templates/metodist2/assets/fonts/PT_Sans-Web-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* PT Sans - Bold Italic */
@font-face {
    font-family: 'PT Sans';
    src: url('/local/templates/metodist2/assets/fonts/PT_Sans-Web-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/*html {*/
/*    font-size: 24px;*/
/*}*/

/*body {*/
/*    font-family: 'Brusnika', sans-serif;*/
/*    letter-spacing: 0px;*/
/*    line-height: normal;*/
/*}*/

body {
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 1.1rem;
    /*letter-spacing: -.5px;*/
}

/* Дизайн 2026: цвета ссылок и кнопок задаёт assets/css/redesign.css (без !important) */
a {
    text-decoration: none;
}

.bg-primary {
    background-color: rgb(100 139 53) !important;
}

/*slick*/

.thumbnail {
    cursor: pointer;
    max-width: 100px;
    margin: 5px;
}

.slick-slide {
    outline: none;
}

.main-slider .slide-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #f6f6f6;
}

.main-slider .slide-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

#page-top {
    background: #efedda;
    overflow: hidden;
    position: relative;
}

#page-top h1, #page-top p {
    color: #1a2c1a;
}

#page-top_badge p {
    color: initial;
}

/* === Превью (квадратные) === */
.photo-slider .thumb-wrap {
    aspect-ratio: 1 / 1; /* гарантирует квадрат */
    overflow: hidden;
    border-radius: 6px;
    background: #f6f6f6;
    position: relative;
}

.photo-slider .thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Отступы между превью */
.photo-slider .slick-slide {
    padding: 6px;
    box-sizing: border-box;
}

/* hover эффект */
.photo-slider .thumb-wrap img:hover {
    transform: scale(1.03);
    transition: transform 0.18s ease;
}

/* подсветка активного слайда (опционально) */
.photo-slider .slick-current .thumb-wrap {
    box-shadow: 0 0 0 3px rgba(198, 102, 102, 0.12);
}

/* Фолбэк для браузеров без поддержки aspect-ratio */
@supports not (aspect-ratio: 1/1) {
    .photo-slider .thumb-wrap {
        height: 0;
        padding-top: 100%;
    }

    .photo-slider .thumb-wrap img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .main-slider .slide-wrap {
        /* аналогичный фолбэк, если нужно */
    }
}

/*slick end*/

#main_logo {
    width: 50px;
    height: auto;
}

.page-content h1 {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 20px;
}

.page-content h2 {
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 14px;
}

.link-green {
    color: #648b35 !important;
}

.card {
    box-shadow: 0px 0px 20px 0px #efefef;
}

.card a {
    text-decoration: none;
}

.card .card-title {
    /*min-height: 50px;*/
    /*font-weight: 600;*/
}

.card-popular .card-title {
    font-size: 13px;
}

.card-product .card-title {
    font-size: 16px;
}

.card .card-body {
    text-align: center;
}

.card-body .card-text {
    color: #5c5c5c;
    /*line-height: 1.3rem;*/
}

.news-list .card-body .card-text {
    font-size: .8rem;
}

.top-bg-image-1 {
    position: absolute;
    left: 0;
    top: -30%;
    max-width: 50%;
    opacity: .05;
}

.top-bg-image-2 {
    position: absolute;
    right: 0;
    bottom: -30%;
    max-width: 50%;
    opacity: .05;
}

.navbar .cart-link {
    padding: 10px 17px;
    background: #efedda;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar .cart-link img {
    opacity: .6;
}

.navbar .cart-link:hover img {
    opacity: .9;
}

.navbar-nav .nav-link[href="/catalog/"] {
    font-weight: 600;
}

.navbar .cart-link span {
    color: #444;
    font-weight: 700;
    margin-left: 10px;
}

header .nav-link {
    color: rgb(33 37 41) !important;
}

/*hover*/

.main-slider {
    box-shadow: 0px 0px 10px 0px #b9b9b940;
}

.main-slider div {
    box-shadow: 0px 0px 10px 0px #b9b9b9;
}

.card.card-hover,
.card.card-hover .card-body,
.card.card-hover .card-title a,
.card.card-hover .card-text {
    transition: background 0.2s ease, color 0.2s ease;
    background: initial;
    color: initial;
}

.card.card-hover:hover {
    transition-delay: 0s;
    background: #c39b73;
}

.card.card-hover:hover .card-title,
.card.card-hover:hover .card-title a,
.card.card-hover:hover .card-text {
    transition-delay: 0s;
    color: #fff !important;
}

/*hover end*/

.added-to-cart-message {
    padding: 10px 10px;
    background: #e8fbdf;
    margin-top: 15px;
}

#order-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#order-block .trigger-button {
    margin: 10px;
}

.bx-auth-reg td {
    padding-bottom: 15px;
}

.article-detail {
    line-height: 1.8rem;
}

.article-detail img {
    border: 15px solid #f5f5f5;
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}

.article-detail h2, .article-detail h3 {
    font-weight: 600;
}

footer .card .card-body {
    text-align: left;
}

#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #efeddae6;
    color: #212529;
    text-align: center;
    padding: 15px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

#cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
}

#cookie-notice .cookie-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#cookie-notice button#cookie-accept {
    background-color: #658b36;
    border: none;
    color: #fff;
    padding: 5px 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

#cookie-notice button#cookie-accept:hover {
    background-color: #e0a800;
}

.profile-card {
    background: #efedda;
    border-radius: 8px;
}

@media (max-width: 576px) {

}

@media (max-width: 768px) {
    .card-title {
        font-size: 17px;
    }

    .card-popular .card-title {
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .navbar-expand-lg .navbar-collapse {
        padding-top: 20px;
        /*border-top: 1px solid #dee2e6;*/
    }

    .navbar-expand-lg li {
        display: flex;
        justify-content: flex-end;
    }

    .navbar-expand-lg li a {
        font-size: 1.1rem;
        font-weight: 500;
    }
}

@media (min-width: 992px) {
    header .nav-link {
        background: #efedda;
        border-radius: 7px;
        color: #212529 !important;
    }

    header .nav-link:focus, header .nav-link:hover, header .nav-link[aria-current="page"] {
        background: #658b36 !important;
        color: #fff !important;
    }

    header .nav-link:focus img, header .nav-link:hover img, header .nav-link[aria-current="page"] img {
        filter: invert(1);
    }
}
/* У картинок карточек есть width/height (против прыжков вёрстки) - высота по пропорциям */
.card-img-top {
    height: auto;
}

/* End */
/* /local/templates/metodist2/template_styles.css?17910308147988 */
