/**
 * Colors
 */
:root {
    --bs-dark: #212529;
    --bs-light: #f8f9fa;
    --bs-border-radius: 0.375rem;
    --bs-danger-rgb: 220, 51, 49;
    --bs-link-color-rgb: 220, 51, 49;
    --bs-link-hover-color-rgb: 176, 42, 55;
    --bs-dropdown-link-active-bg: #dc3331;
}

/**
 * Header
 */
html.u-eip .header-container-fixed {
    top: 25px !important;
}

.navbar,
.navbar-dark,
.navbar[data-bs-theme=dark],
[data-bs-theme=dark] .navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    margin: 0;
    padding: 0 1.5rem 0 0;
}

.navbar-brand img {
    height: 30px;
}
@media (min-width: 992px) {
    .navbar-brand img {
        height: 40px;
    }
}

.navbar-brand.navbar-brand-home img {
    /*height: 60px;*/
}

.navbar-toggler {
    --bs-navbar-color: rgba(255, 255, 255, 1);
}

.navbar-toggler-icon {
    width: 1em;
}

.navbar-collapse.collapsing {
    height: auto;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.35s ease;
}

.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    color: #fff;
    text-decoration: none;
}
.navbar-nav .nav-link:hover {
    text-decoration: underline;
}

.header-soc-links img {
    height: 24px;
}

.mega-menu-unit,
.mega-menu-unit-sub,
.mega-menu-unit-sub2 {
    display: flex;
    margin: 0;
    padding: 0.5rem;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);
    text-decoration: none;
    color: rgba(var(--bs-body-color-rgb),var(--bs-text-opacity));
}

.mega-menu-unit:hover,
.mega-menu-unit-sub:hover,
.mega-menu-unit-sub2:hover {
    background-color: rgba(var(--bs-danger-rgb), var(--bs-link-opacity, 1));
    border-color: rgba(var(--bs-danger-rgb), var(--bs-link-opacity, 1));
    text-decoration: none;
    color: rgba(var(--bs-body-color-rgb),var(--bs-text-opacity));
}

.mega-menu-unit-sub .btn {
    border: 1px solid transparent;
    background-color: transparent;
    color: rgba(var(--bs-body-color-rgb),var(--bs-text-opacity));
    transition: rotate 0.3s;
}

.mega-menu-unit-sub:hover .btn {
    border: 1px solid rgba(var(--bs-danger-rgb), 1);
    background-color: rgba(var(--bs-danger-rgb), 1);
    color: rgba(var(--bs-body-color-rgb),var(--bs-text-opacity));
}

.mega-menu-row-subs > .col-12 {
    border-right: 1px dashed rgba(255, 255, 255, 0.1);
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
.mega-menu-row-subs > .col-12:first-child {
    padding-left: 0 !important;
}
.mega-menu-row-subs > .col-12:last-child {
    border-right: 0 !important;
    padding-right: 0 !important;
}

/**
 * Main
 */
main.home-page {
    padding-top: 0;
}

main.inner-page {
    padding-top: 0;
}

.breadcrumb-chevron {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    gap: .5rem;
}

.breadcrumb-chevron .breadcrumb-item {
    display: flex;
    gap: inherit;
    align-items: center;
    padding-left: 0;
    line-height: 1;
}

.breadcrumb-chevron .breadcrumb-item::before {
    gap: inherit;
    float: none;
    width: 1rem;
    height: 1rem;
}

/**
 * Content Home Slides
 */
#content-home-slides {
    width: 100%;
    height: 100vh;

}

#content-home-slides .swiper-slide {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

#content-home-slides .swiper-slide .bg-inset-1,
#content-home-slides .swiper-slide .bg-inset-2 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.35s;
    z-index: 1;
}

#content-home-slides .swiper-slide .bg-inset-1 {
    /*box-shadow: inset 10vw 15vh 25vw #000;*/
    box-shadow: inset 5vw 8vh 15vw #000;
}

#content-home-slides .swiper-slide .bg-inset-2 {
    /*box-shadow: inset -10vw -15vh 25vw #000;*/
    box-shadow: inset -5vw -8vh 15vw #000;
}

#content-home-slides .swiper-slide .slogan {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
}

#content-home-slides .swiper-slide .slogan img {
    width: 100%;
    margin: 0 0 3rem 0;
}

#content-home-slides .swiper-slide .description {
    position: absolute;
    top: 100px;
    right: 2rem;
    bottom: 0;
    left: 0;
    text-align: end;
    z-index: 3;
}

#content-home-slides .swiper-slide .slide-catalog {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    z-index: 2;
}

#content-home-slides .swiper-slide .slide-catalog-item {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    flex-grow: 1;
}

#content-home-slides .swiper-slide .slide-catalog .slide-catalog-link {
    position: relative;
    z-index: 3;
    text-decoration: none;
    transition: all 0.35s;
    transform: translate3d(0, 0, 0);
    border-top: 2px solid transparent;
    background: rgba(0, 0, 0, 0);
}

#content-home-slides .swiper-slide .slide-catalog-item:hover .bg-inset-1,
#content-home-slides .swiper-slide .slide-catalog-item:hover .bg-inset-2 {
    opacity: 0.5;
}

#content-home-slides .swiper-slide .slide-catalog-item:hover .slide-catalog-link {
    transform: translate3d(0, -1rem, 0);
}

#content-home-slides .swiper-slide .slide-catalog .slide-catalog-link:hover {
    text-decoration: none;
    border-top: 2px solid white;
    background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 767.98px) {
    #content-home-slides {
        max-height: 50vh;
    }

    #content-home-slides .swiper-slide .slogan {
        right: 50%;
    }

    #content-home-slides .swiper-slide .description {
        left: 50%;
    }

    #content-home-slides .swiper-slide .slide-catalog {
        flex-direction: row;
    }

    #content-home-slides .swiper-slide .slide-catalog > div {
        /* width: 50%; */
    }
}

#content-home-slides .swiper-pagination {
    --swiper-pagination-bullet-inactive-color: #777;
    --swiper-pagination-color: #aaa;
    --swiper-pagination-bullet-width: 8px;
    --swiper-pagination-bullet-height: 8px;
    --swiper-pagination-bullet-horizontal-gap: 8px;
}

#content-home-slides .swiper-pagination .swiper-pagination-bullet-active {
    --swiper-pagination-bullet-width: 32px;
    --swiper-pagination-bullet-border-radius: 4px;
}

/**
 * Text Block
 */
.text-block h1, .text-block h2 {
    margin: 3rem 0;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
}

.text-block h3, .text-block h4 {
    margin: 2.5rem 0;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
}

.text-block h5, .text-block h6 {
    margin: 2rem 0;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
}

.text-block h1:first-child, .text-block h2:first-child, .text-block h3:first-child {
    margin-top: 0;
}

.text-block td h1:first-child, .text-block td h2:first-child, .text-block td h3:first-child {
    margin: 1rem 0;
}

.text-block p {
    text-align: justify;
}

.text-block ul {
    margin: 0 0 1rem 0;
    padding: 0;
}

.text-block ul li {
    margin: 1rem 0 1rem 2rem;
    padding: 0 0 0 1rem;
    list-style-type: square;
}

.text-block .table tr:first-child th,
.text-block .table tr:first-child td {
    border-top-width: var(--bs-border-width);
}

.text-block .table.table-in-content {
    //
}

.nav-underline {
    --bs-nav-link-hover-color: rgba(0, 0, 0, 1);
    --bs-nav-link-color: var(--bs-secondary-color)
}

.text-block-cut {
    height: 6rem;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.text-block-open,
.text-block-close {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    border: 0;
    height: 3rem;
    background: linear-gradient(180deg, transparent 0, white 100%);
    display: flex;
    align-items: end;
    justify-content: center;
}

.text-block-open:before,
.text-block-close:before {
    display: block;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transform: rotate(90deg);
}

.text-block-close:before {
    transform: rotate(-90deg);
}

.no-outlines,
.no-outlines:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: var(--bs-dark);
}

[data-bs-theme="dark"] .form-control:focus {
    border-color: var(--bs-light);
}

/**
 * Side Menu
 */
.sidebar-menu .sidebar-menu-parent {
    border-left: 2px solid transparent;
    padding-left: 0.5rem;
}
.sidebar-menu .sidebar-menu-parent.opened {
    border-left: 2px solid #dc3331;
}
.sidebar-menu .sidebar-menu-item-toggler {
    transform: rotate(90deg);
    transition: all 0.3s;
}
.sidebar-menu .sidebar-menu-item-toggler.opened {
    transform: rotate(-90deg);
}

/**
 * Footer
 */
main {
    /*padding-bottom: 370px;*/
}

footer {
    /*position: fixed;*/
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
}

footer .slogan img {
    width: 100%;
    max-width: 120px;
    /*filter: grayscale(1);*/
    /*opacity: 0.5;*/
}

.btn-masters,
.btn-masters-back {
    position: relative;
    border-radius: var(--bs-border-radius);
    border: 1px solid rgba(var(--bs-danger-rgb), 1);
    padding: 1rem 2rem;
    color: rgba(var(--bs-danger-rgb), 1);
    transition: all 0.3s;
    overflow: hidden;
}

.btn-masters:hover {
    padding: 1rem 3rem 1rem 1rem;
}

.btn-masters-back:hover {
    padding: 1rem 1rem 1rem 3rem;
}

.btn-masters:hover,
.btn-masters-back:hover {
    background: rgba(var(--bs-danger-rgb), 1);
    color: rgba(var(--bs-white-rgb), 1)
}

.btn-masters:before {
    content: "»";
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    font-size: 125%;
    line-height: 2.5;
    color: inherit;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-masters-back:before {
    content: "«";
    position: absolute;
    left: -40px;
    top: 0;
    height: 100%;
    font-size: 125%;
    line-height: 2.5;
    color: inherit;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-masters:hover:before {
    right: 1rem;
}

.btn-masters-back:hover:before {
    left: 1rem;
}

.geologica-900 {
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
}

/**
 * Catalog Parts
 */
.catalog-part {
    position: relative;
    font-size: 1.75rem;
    font-family: "Geologica", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-variation-settings: "slnt" 0,
    "CRSV" 0,
    "SHRP" 0;
    color: #fff;
    overflow: hidden;
}

.catalog-part-ico,
.catalog-part-title {
    z-index: 2;
}

.catalog-part-title-medium {
    font-size: 1.25rem;
}

.catalog-part-bg-image {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: transform 0.8s ease;
    z-index: 0;
}

.catalog-part-bg-shadow {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.catalog-part:hover {
    background-size: 110%;
}

.catalog-part:hover .catalog-part-bg-image {
    transform: scale(1.1);
}

.catalog-part:hover .catalog-part-bg-shadow {
    background-color: rgba(var(--bs-danger-rgb), 0.8);
}

.border-glow,
.catalog-part.catalog-part-border-glow {
    /*box-shadow: 0 0 2rem 0 rgba(var(--bs-danger-rgb), 0) inset;*/
    border: 1px solid rgba(var(--bs-dark-rgb), 0.1) !important;
    transition: all 0.3s;
}

.border-glow:hover,
.catalog-part.catalog-part-border-glow:hover {
    /*box-shadow: 0 0 2rem 0 rgba(var(--bs-danger-rgb), 0.3) inset;*/
    border: 1px solid rgba(var(--bs-danger-rgb), 1) !important;
}

@media (max-width: 575.98px) {
    .catalog-part {
        font-size: 2rem;
        font-weight: 900;
    }
}
@media (max-width: 767.98px) {
    .catalog-part {
        font-size: 1.5rem;
        font-weight: 700;
    }
}
@media (max-width: 991.98px) {
    .catalog-part {
        font-size: 1.5rem;
        font-weight: 700;
    }
}
@media (max-width: 1199.98px) {
    .catalog-part {
        font-size: 1.5rem;
        font-weight: 700;
    }
}
@media (max-width: 1399.98px) {
    .catalog-part {
        font-size: 1.5rem;
        font-weight: 800;
    }
}

.with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.with-icon .icon {
    opacity: 0.5;
    flex-shrink: 1;
    flex-grow: 0;
}
.with-icon .name {
    flex-shrink: 0;
    flex-grow: 1;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #dc3331;
}

/**
 * Product
 */
.preview-box {
    aspect-ratio: 1 / 1;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.product-preview {
    width: 100%;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bolder;
}

.product-price.small {
    font-size: 1rem;
}

.product-price.big {
    font-size: 2rem;
}

.product-price::after {
    content: '\20BD';
    font-weight: lighter;
    opacity: 0.5;
}

.lh-2 {
    line-height: 2;
}