.inline-block {
    display: inline-block;
}

.relative {
    position: relative;
}

.full-width {
    width: 100%;
}

#header {
    /*margin-bottom: 30px;*/
    /*background: #28482E;*/
}

body {
    font-family: "Comfortaa", sans-serif;
}

#page-top {
    color: white;
    background-color: #06232b;
    background-size: cover;
    /*background-image:*/
    /*    radial-gradient(circle, rgba(255,255,255,0.01) 1px, transparent 1px),*/
    /*    radial-gradient(circle, rgba(0,0,0,0.02) 1px, transparent 1px);*/
    /*background-size: 3px 3px, 6px 6px;*/
    /*background-color: #2e4d3a; !* насыщенный зелёный *!*/
}


#gallery {
    /*!*background: url(/images/bg-image.png);*!*/
    /*background-position-y: 30% !important;*/
    /*-webkit-background-size: cover;*/
    /*-moz-background-size: cover;*/
    /*-o-background-size: cover;*/
    /*background-size: cover;*/
}

.capybara-background {
    background-color: #06232b; /* насыщенный зелёный */
    background-image:
        url('leaf1.svg'),
        url('leaf2.svg'),
        url('leaf3.svg'),
        radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size:
        100px,
        80px,
        60px,
        4px 4px;
    background-position:
        10% 20%,
        80% 30%,
        60% 70%,
        0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat;
    color: #fdf5e6; /* бежевый текст */
    padding: 60px;
}

.header-content {
    margin: 0 auto;
    /*box-sizing: border-box;*/
    /*max-width: 1024px;*/
    max-width: 1152px;
}

.gallery-inside {
    height: 100%;
    /*background: linear-gradient(rgb(48 48 48 / 80%), rgb(187 156 93 / 40%));*/
    /*backdrop-filter: blur(2px);*/
}

.gallery-head {
    margin: 0 auto;
    max-width: 1152px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.gallery-content {
    margin: 0 auto;
    max-width: 1152px;
    padding-top: 20px;
    padding-bottom: 40px;
}

.gallery-content-item {
    width: 200px;
    height: 300px;
    background-size: cover !important;
    background-color: #ccc;
    border-radius: 4px;
    margin-right: 36px;
    box-shadow: 3px 3px 25px rgba(0,0,0, 0.65)
}

.header-content > .item {
    margin: 15px 15px;
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 2px;
}


.product_group {
    margin: 0 auto;
    max-width: 1152px;
}

h2 {

}

.product_group__item {

    margin: 8px;
    border-radius: 5px;
    /*background-color: #fafafa;*/
}

.product_group__image {
    cursor: pointer;
    height: 200px;
    width: 200px;
    background-position-y: 30% !important;
    background-position-x: 30% !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 8px 8px 0 0;
}

.product_group__item:has(.product_group__image) {
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    background-color: #fafafa;
}


.product_group__item-body {

}


.product_group_cart__image {
    cursor: pointer;
    height: 150px;
    width: 150px;
    background-position-y: 30% !important;
    background-position-x: 30% !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 2px;
    border-radius: 10px;
}

.product_group__title {
    cursor: pointer;
    margin-top: 12px;
    font-size: 14px;
    width: 200px;
    padding-left: 10px;
    padding-right: 10px;
}


@media (max-width: 450px) {
    .product_group__image {
        height: 170px;
        width: 170px;
    }

    .product_group__title {
        font-size: 13px;
        width: 170px;
    }

    .product_group_cart__image {

    }
}


@media (max-width: 380px) {
    .product_group__image {
        height: 160px;
        width: 160px;
    }

    .product_group__title {
        font-size: 12px;
        width: 160px;
    }
}


.product_group__title:hover {
    text-decoration: underline dotted  #06232b;
    color:  #06232b;
}

.text-link {
    text-decoration: underline dotted  #06232b;
    color:  #06232b;
    cursor: pointer;
}

.product_group__price {
    font-weight: bold;
    font-size: 18px;
    /*font-family: "Inconsolata", monospace, 'Roboto';*/
    font-family: 'Segoe UI', sans-serif;
    padding-left: 10px;
    padding-right: 10px;
}

.product_group__buy-buttons-group {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.product_group__buy {
    cursor: pointer;
    padding: 1px 10px;
    border: 2px solid #06232b;
    color: #06232b;
    border-radius: 4px;
}

.order-number {
    padding: 5px;
    border: 2px solid #06232b;
    color: #06232b;
    margin: 20px auto;
    max-width: 240px;
}

.product_group__buttons {
    display: inline-block;
    cursor: pointer;
    border: 2px solid #06232b;
    color: #06232b;
    width: 35px;
    font-size: 25px;
    text-align: center;
    line-height: 26px;
    border-radius: 4px;
}

.product_group__counter{
    display: inline-block;
    cursor: pointer;
    border: 2px;
    color: #06232b;
    min-width: 35px;
    font-size: 22px;
    text-align: center;
    line-height: 26px;
    position: relative;
    top: -2px;
}

.btn-primary:hover {
    color: #fff;
    background-color: #4e9369;
    border-color: rgba(0, 0, 0, 0);
}

.btn-secondary {
    border-radius: 0;
    color: #fff;
    background-color: #46a26d;
    border-color: transparent;
    font-weight: 600;
}

.btn-primary {
    border-radius: 4px;
    color: #fff;
    background-color: #06232b !important;
    border-color: transparent;
    font-weight: 600;
}

.btn-primary:disabled {
    border-color: transparent !important;
}

.form-control:focus {
    border-color: #46a26d;
    box-shadow: 0 0 0 .25rem rgba(49, 197, 64, 0.25);
}

.btn.active {
    border-color: #3a7251;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.btn-close:focus {
    box-shadow: 0 0 !important;
}


.product_modal_gallery__gallery_image {
    cursor: pointer;
    height: 150px;
    width: 150px;
    margin-top: 15px;
    background-position-y: 30% !important;
    background-position-x: 30% !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 2px;
}

.product_modal_gallery__main_image_container {
    margin-top: 75%;
}

.product_modal_gallery__main_image {

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    cursor: pointer;
    /*width: 100%;*/
    /*height: 200px;*/
    background-position-y: 30% !important;
    background-position-x: 30% !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 2px;
}

.float-cart {
    position: fixed;
    right: 25px;
    /*bottom: 25px;*/
    background-color: #06232b;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    text-align: center;
    color: white;
    line-height: 60px;
    transition: opacity 0.2s linear, bottom 0.2s ease-out;
    cursor: pointer;
}



.truncate-text-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

