/*
 Theme Name:   Megastrap Child
 Author:       Konstantin
 Template:     megastrap
*/

.navbar-brand.navbar-brand-logo {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 2rem;
}

#main-menu .navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: 500;
    --bs-nav-link-color: var(--bs-dark);
    --bs-nav-link-active-color: var(--bs-primary);
    --bs-nav-link-hover-color: var(--bs-primary);
}

#catalog-menu .navbar-nav {
    --bs-navbar-nav-link-padding-x: 0.75rem;
    --bs-navbar-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: 500;
    --bs-nav-link-color: var(--bs-dark);
    --bs-nav-link-active-color: var(--bs-primary);
    --bs-nav-link-hover-color: var(--bs-primary);
    --bs-nav-link-font-size: 0.875rem;
    line-height: 1.1;
}

.btn.btn-header {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: #ebebee;
    --bs-btn-border-color: #ebebee;
    --bs-btn-hover-color:  var(--bs-primary);
    --bs-btn-hover-bg: #cfcdcf;
    --bs-btn-hover-border-color: #cfcdcf;
    --bs-btn-focus-shadow-rgb: 207, 205, 207;
    --bs-btn-active-color: var(--bs-primary);
    --bs-btn-active-bg: #050405;
    --bs-btn-active-border-color: #c2c1c2;
    --bs-btn-font-weight: 500;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.page-title, .entry-title {
    text-transform: uppercase;
    color: var(--bs-primary);
}

.breadcrumb {
    font-size: 10px;
}

/* HERO SLIDER */
.hero-gallery {
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 578px) {
    .hero-gallery .k-blocks-slick-html-inner-content.row {
        min-height: 35rem!important;
    }
}


/* Check list style */
.is-style-check-list {
    list-style-type: '\f26a   ';
    padding-left: 1.7rem;
    line-height: 1.6;
}
ul.is-style-check-list li::marker {
    color: var(--bs-primary);
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}
ul.two-column-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}


/* Top line */

.m-basic-section.top-line, .blog #site-content {
    position: relative; 
}
.m-basic-section.top-line:before, .blog #site-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7rem;
    z-index: -1;
    background-color: #eef1fa;
}
.blog .content-v-margin {
    margin-top: 3.25rem;
}


/* Woocommerce */

.m-archive-loop-buttons-wrapper {
    margin-bottom: 0.75rem;
}
.m-archive-product-item {
    box-shadow: 0 0.125rem 3rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}
.m-archive-product-item .price,
.m-archive-product-item .m-archive-loop-buttons-wrapper,
.m-archive-product-item .woocommerce-loop-product__title {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.attachment-woocommerce_thumbnail {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
}

.m-archive-product-item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
}
.m-archive-loop-buttons-wrapper {
    margin-top: auto;
}
.m-archive-loop-buttons-wrapper a.btn {
    width: 100%;
}
.m-archive-loop-buttons-wrapper .add_to_cart_button {
    --bs-btn-color: #fff;
    --bs-btn-bg: #242424;
    --bs-btn-border-color: #242424;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #454545;
    --bs-btn-hover-border-color: #3a3a3a;
    --bs-btn-focus-shadow-rgb: 69, 69, 69;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #505050;
    --bs-btn-active-border-color: #3a3a3a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #242424;
    --bs-btn-disabled-border-color: #242424;
    width: 100%;
}

.m-shortcode-cat-icon-shortcode {
    border-radius: 50%;
    aspect-ratio: 1/1;
}

h2.m-product-title.woocommerce-loop-product__title {
    min-height: 2.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.m-archive-product-item {
    text-align: left;
}

.m-archive-product-item {
    text-align: left;
    background-color: white;
}

span.woocommerce-Price-amount.amount {
    color: var(--bs-primary);
    font-weight: bold;
}

del>.woocommerce-Price-amount bdi {
    font-size: 0.85em;
    color: black;
    opacity: 0.9;
}

.m-archive-product-item .m-onsale {
    position: absolute;
    top: 0;
    right: unset;
    left: 0;
    padding: 0.5rem 0.75rem;
    color: var(--bs-white)!important;
    background-color: var(--bs-danger)!important;
    border-radius: 0.5rem 0 0 0 !important;
}