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

body {
    font-weight: normal;
    font-style: normal;
    font-family: 'Fira Sans Condensed', sans-serif;
}

body.wvs-theme-megastrap-child {
    margin-top: calc(1rem + 35px);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 500;
}

a {
    color: rgb( var(--bs-body-color-rgb) );
}
.has-text-color a {
    color: inherit;
}

#main-menu-open:focus, button.bg-white.accordion-button:focus {
    box-shadow: unset;
}

a.megastrap-icon-cart .text {
    display: none;
}

h1.page-title {
    text-align: center;
}

.m-bootstrap-accordions .accordion-button {
    font-weight: 500;
}

/* header 
------------------------------*/
#urban-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
body.admin-bar #urban-nav {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar #urban-nav {
        top: 46px;
    }
}
#urban-nav .m-woo-icons-block {
    opacity: 1;
}

a.m-category-menu-link.m-sub-category {
    text-decoration: none;
}
ul#menu-main-menu li.menu-item>a {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}


/* hero bautify 
------------------------------------------*/
.wp-block-k-blocks-sclick-slider-classic-k-blocks>:not(.slick-initialized) div:not(:first-child)>figure.k-block-slick-classic-item {
	display: none;
}
.wp-block-k-blocks-slick-html-parent-k-blocks>:not(.slick-initialized) div:not(:first-child)>.k-blocks-slick-html-inner-content {
	display: none;
}


/* shop loop 
------------------------------------------*/
.woocommerce-loop-product__title {
    text-transform: uppercase;
    font-weight: normal;
}
.m-products-loop-card .price {
    font-weight: 500;
}
.m-product-loop-col .m-archive-product-item {
    text-align: left;
}
.woocommerce-loop-product__title {
    margin-top: 1rem;
}
form.woocommerce-ordering {
    max-width: 50%;
}
.m-archive-loop-buttons-wrapper .added_to_cart,
.m-archive-loop-buttons-wrapper .add_to_cart_button,
.m-archive-loop-buttons-wrapper .wp-element-button {
    display: none;
}

.woocommerce-breadcrumb {
    font-size: 0.8rem;
}

/* single page 
-----------------------------------------*/
.product_title.entry-title {
    text-transform: uppercase;
    font-weight: normal;
}
.m-single-product-controls-row {
    align-self: center;
}
.summary.entry-summary {
    /*margin-top: 0;*/
}
h2.product-tab-header {
    margin-bottom: 1.25rem;
}
.product_meta span.posted_in {
    display: block;
}
a.reset_variations:focus {
    box-shadow: none;
}
@media (max-width: 767px) {
    ol.flex-control-nav.flex-control-thumbs li {
        max-width: 20%;
    }
}
@media (min-width: 768px) {
    .single-product div.product .woocommerce-product-gallery .flex-viewport {
        width: 85%;
        float: right;
    }
    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        width: 15%;
        float: right;
    }
    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
        width: 90%;
        float: none;
        margin: 0 10% 10% 0;
    }
}
table.variations tr:not(:last-of-type) td.value {
    padding-bottom: 1.25rem;
}
.m-single-product-gallery-row>.onsale {
    z-index: 1;
}
@media (min-width: 768px) {
    .m-single-product-gallery-row>.onsale {
        left: 17.5%!important;
        top: -0.5rem!important;
        z-index: 1;
    }
}


/* gallery trigger 
-----------------------------*/
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    text-indent: -9999px;
	width: 2.1rem;
    height: 2.1rem;
    top: 0.5rem;
    right: 0.5rem;
}
@media (min-width: 768px) { 
    .woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 0.2rem; right: 0.2rem; }
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 9px;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 19px;
    left: 22px;
    transform: rotate(-45deg);
    box-sizing: content-box;
}


/* product archive page 
--------------------------------------------*/
h2.h6.woocommerce-loop-product__title {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}


/* login form
--------------------------------------------*/
.m-woo-login-col-content {
    padding: 1.8rem;
    border: 1px solid var(--bs-primary);
}


/* bage for cart
--------------------------------------------*/
span.count.m-cart-icon-count:before, span.count.m-cart-icon-count:after {
    content: "";
    display: none;
}
span.count.m-cart-icon-count {
    position: absolute;
    top: -0.15rem;
    right: -0.30rem;
    background-color: var(--bs-danger);
    font-size: 0.625rem;
    padding: 0 0.325rem;
    line-height: 1rem;
    border-radius: 0.5rem;
    font-family: Arial, sans-serif;
}


/* product sliders
--------------------------------------------*/
.m-slider-shortcode {
    --right-controls-offcet: 0.5rem;
}
.m-slider-shortcode .slick-next {
    left: unset;
    right: var(--right-controls-offcet);
}
.m-slider-shortcode .slick-prev {
    left: unset;
    right: calc( 2.5rem + var(--right-controls-offcet) );

}
.m-slider-shortcode .slick-prev.slick-disabled, .m-slider-shortcode .slick-next.slick-disabled,
.m-slider-shortcode .slick-prev.slick-disabled:before, .m-slider-shortcode .slick-next.slick-disabled:before {
    opacity: 1;
}
.m-slider-shortcode .slick-prev:before, .m-slider-shortcode .slick-next:before {
    opacity: 1;
    width: 0.6rem;
    height: 0.6rem;
    border: solid var(--bs-dark);
    border-width: 0 1px 1px 0
}
.m-slider-shortcode .slick-prev::before {
    top: 0.6rem;
    left: 0.75rem;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
.m-slider-shortcode .slick-next::before {
    top: 0.6rem;
    right: 0.75rem;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.m-slider-shortcode .slick-prev, .m-slider-shortcode .slick-next {
    top: -1.8rem;
    transform: translate(0, -50%);
    border: 1px solid var(--bs-dark);
}


/* styled list 
-------------------------------------- */
ul.styled-list {
    list-style-type: none;
    padding-left: unset;
}
ul.styled-list>li {
    padding: 0.5rem 1rem;
    border: 1px solid #d2d2d2;
	background-color: white;
}
ul.styled-list>li:first-child {
    border-top-left-radius: var(--bs-border-radius);
	border-top-right-radius: var(--bs-border-radius);
}
ul.styled-list>li:last-child {
    border-bottom-left-radius: var(--bs-border-radius);
	border-bottom-right-radius: var(--bs-border-radius);
}
ul.styled-list>li:not(:last-child) {
    border-bottom: unset;
}