.hidden, input[name=address] {
    display: none !important;
}

.popup_map {
    height: 500px;
    width: 500px;
}

#mobile-price-slider {
    display: none !important;
}

.pag .page-nav__item_type_separator {
    border: none;
}

.pag .left, .pag .right {
    display: inline-block;
    border: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.pag .left:before, .pag .right:before {
    position: absolute !important;
    content: "" !important;
    border-left: solid 1px #000 !important;
    border-top: solid 1px #000 !important;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 11px !important;
    height: 11px !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -5px !important;
    background: inherit !important;
}

.pag .left:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: -3px;
}

.pag .right:before {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    margin-left: -8px;
}

.item_description {
    margin-top: 26px;
}

.item_description .title_description {
    font-family: "Playfair Display", serif;
    font-weight: normal;
    font-size: 22px;
    line-height: 24px;
}

.item_description p {
    margin: 18px 0;
}

.news-item-text img {
    width: 100%;
    height: auto;
}

/* TODO: расскомментировать после исправления */
/*
.block-subheader {
    width: 60%;
    display: block;
    margin: 0 auto;
    padding: 0px;
    font-size: 18px;


}

.slider {
    width: 50%;
    margin: 100px auto;
}

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}


.slick-slide {
    transition: all ease-in-out .3s;
}

.slick-active {
    opacity: 1;
}

.slick-current {
    opacity: 1;
}

.collapse {
    font-size: 16px;
    line-height: 1.8;
}

.col-6 {
    -webkit-flex-basis: 50%;
    -ms-flex-basis: 50%;
    flex-basis: 50%;
    max-width: 50%;
    padding: 2%;
}

.row {
    background: none;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-right: 3%;
    margin-left: 3%;
}

.left-img {
    margin-top: 60px;
    margin-bottom: 40px;
    display: block;
    height: 630px;
}

a.heading-cat {
    text-align: center;
    width: 100%;
    display: block;
}

.description-block {
    display: block !important;
	text-align: justify;
}

.slick-dotted.slick-slider {
    overflow: hidden;
}

.right-block, .pic-left {
    display: inline-block;
}

img.pics {
    width: auto;
    height: 250px;
}

li.cat-2col:before {
    content: none;
    padding: 0px;
}

.card-news {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: start;
}

.right-block {
    position: relative;
    padding-left: 30px;
    top: 30%;
}

.right-block span {
    font-size: .8125000000000001rem;
    line-height: 1.53846154;
    text-transform: uppercase;
    color: #757575;
    letter-spacing: 1.5px;
}

.right-block h6 {
    font-size: 1.5625rem;
    line-height: 1.6;
    margin: 22px 0;
}

li.cat-2col {
    display: flex;
    padding: 30px 0 40px;
    border-bottom: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
    margin-top: 0px;
}

ul.cat-line {
    position: relative;
    left: 30%;
    overflow: hidden;
}

.big-banner {
    text-align: center;
}

img.bigb {
    max-width: 960px;
    height: auto;
}

section.image-center {
    text-align: center !important;
}

.minitext {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
}

p.collapseLines.hide-class {
    margin: 15px 0;
}

.for-video {
    width: 90%;
    height: 480px;
}

@media only screen and (max-width: 600px) {
    .block-subheader {
        width: 90%;
        font-size: 16px;
    }

    .row {
		background: none;
		-webkit-align-items: center;
		-ms-flex-align: center;
		-ms-align-items: center;
		align-items: center;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		margin-right: 40px;
		margin-left: 40px;
		flex-wrap: nowrap;
		justify-content: space-around;
		align-content: flex-start;
    }
    .col-6 {
        -webkit-flex-basis: 50%;
        -ms-flex-basis: 50%;
        flex-basis: 50%;
        max-width: 100%;
        padding: 15px;
    }

    .left-img {
        height: 350px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    ul.cat-line {
        left: 3%;

        width: 94%;
    }

    img.bigb {
        max-width: 90%;
        height: auto;
    }

    .for-video {
        width: 90%;
        height: auto;
    }
}*/

#orderForm.loading {
  position: relative;
}

#orderForm.loading:after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 0;
  bottom: 0;
  background: white url(/DESIGN/SITE/images/preloader.gif) 50% 50% no-repeat;
  background: rgba(255, 255, 255, 0.7) url(/DESIGN/SITE/images/preloader.gif) 50% 50% no-repeat;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 10px;
}

/* TODO: расскомментировать после исправления */
/*
.slick-prev {
    left: 0 !important;
}
.slick-next {
    right: 0 !important;
}
.slick-prev, .slick-next{
	height: 50px;
    width: 50px;
}
.slick-prev:after, .slick-next:after{
	width: 15px;
    height: 15px;
    border-top: solid 3px #650405;
    border-right: solid 3px #650405;
}
a.readmore {
    font-size: 18px;
    font-weight: 800;
    color: #650405;
}
a.pic-left {
    width: 250px;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/


.favorite-add-custom {
    background-image: url(https://chamovskikh.com/DESIGN/SITE/images/heart.svg);
    height: 40px;
    width: 40px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: 24px;
    background-size: 24px;
    display: flex;
    margin-left: auto;
}

.favorite-added-custom {
    display: flex;
    background-image: url(https://chamovskikh.com/DESIGN/SITE/images/heartbf.svg);
    height: 40px;
    width: 40px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: 24px;
    background-size: 24px;
    margin-left: auto;
}

.backet {
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: end;
    display: none;
    justify-content: end;
    margin-left: auto;
    -webkit-justify-self: end;
    -ms-grid-column-align: end;
    height: 40px;
    width: 40px;
}

@media (max-width: 1000px) {
    .backet {
        display: -webkit-flex;
        display: flex;
        margin-right: 0;
    }
}

.add-to-basket {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.add-to-basket i {
    width: 20px;
    height: 20px;
    background-image: url(https://chamovskikh.com/DESIGN/SITE/images/cart.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}

.was-in-basket {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.was-in-basket i {
    width: 20px;
    height: 20px;
    background-image: url(https://chamovskikh.com/DESIGN/SITE/images/cart_active.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}

.product-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.slider-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.slider-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.slider-navigation {
    display: none;
    position: absolute;
    bottom: 40%;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: auto;
    margin: 0 15px;
}

.item:hover .slider-navigation{
    display: flex;
}
.item:hover .slider-pagination{
    display: flex;
}
.favorite-add-custom{
    opacity: 0;
}
.item:hover .favorite-add-custom{
    opacity: initial;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 36px;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: background 0.3s;
    pointer-events: auto;
    padding: 0;
    line-height: 100%;
    font-weight: 300;
    color: #726f6f;
    position: relative;
    bottom: 10px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 1);
}

.slider-pagination {
    display: none;
    gap: 5px;
    pointer-events: auto;
    flex: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.slider-dot {
    height: 2px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
    pointer-events: auto;
    position: relative;
    flex: 1;
}

.slider-dot.active {
    background: #650405;
}

.item-clickable-area * {
    pointer-events: none;
}

.item-clickable-area .slider-nav-overlay,
.item-clickable-area .slider-nav-overlay * {
    pointer-events: auto;
}

.item-clickable-area .item-title,
.item-clickable-area .item-price,
.item-clickable-area .item-control {
    pointer-events: auto;
}
.sitemap-container {
    max-width: 1200px;
    margin: 40px auto;
}

.sitemap-main-title {
    text-align: center;
    margin-bottom: 20px;
}

.sitemap-main-title h1 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

.sitemap-main-title a {
    color: #a67c52;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.sitemap-main-title a:hover {
    color: #8a5f3a;
    text-decoration: underline;
}

.sitemap-divider {
    height: 2px;
    background-color: #e0e0e0;
    margin: 30px 0;
    width: 100%;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.sitemap-section {
}

.section-title-2 {
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
}

.section-title-2 a {
    text-decoration: none;
}

.section-title-2 a:hover {
    color: #a67c52;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title a {
    text-decoration: none;
}

.section-title a:hover {
    color: #a67c52;
}

.section-list {
    list-style-type: none;
}

.section-list li {
    font-size: 16px;
}

.section-list a {
    text-decoration: none;
    transition: all 0.3s;
    padding: 2px 0;
    display: inline-block;
}

.section-list a:hover {
    color: #a67c52;
    transform: translateX(3px);
}

.sitemap-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.sitemap-wedding-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
}

.sitemap-stones-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
    .favorite-add-custom {
        opacity: 1;
    }
    .slider-navigation {
        display: flex;
    }
}

@media (max-width: 992px) {
    .sitemap-grid,
    .sitemap-wedding-grid,
    .sitemap-stones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .sitemap-grid,
    .sitemap-wedding-grid,
    .sitemap-stones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sitemap-container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 18px;
    }
}
.clear-input {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-55%);
    cursor: pointer;
    font-size: 24px;
    color: #999;
    display: none;
}
.clear-input:hover {
    color: #333;
}
.w100 {
    position: relative;
}
#liveSearchResults {
    visibility: hidden;
    position: relative;
    padding: 10px;
    background: white;
    margin-top: 30px;
    width: calc(100% + 40px);
    box-sizing: border-box;
    margin-left: -20px;
    margin-right: -20px;
    border: solid 1px #999;
    font-family: "Gotham Pro";
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

#liveSearchResults.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.centerWrap {
    width: auto;
}
ul li + li {
    margin-top: 0;
}
#liveSearchResults p {
    margin: 10px 0;
}
#liveSearchResultsMobile {
    visibility: hidden;
    position: relative;
    padding: 0 10px;
    background: white;
    width: calc(100% + 40px);
    box-sizing: border-box;
    margin-left: -20px;
    margin-right: -20px;
    font-family: "Gotham Pro";
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
#liveSearchResultsMobile.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.centerWrap {
    width: auto;
}
.liveSearchItems{
    margin-left: -30px;
    margin-right: -30px;
}
.card-list{
    margin-left: 30px;
    margin-right: 30px;
}
.card-item {
    display: inline-block;
    width: 200px;
    margin-right: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.liveSearchItems .card-item:last-child {
    margin-right: 0;
}
.card-item::before{
    display: none;
}
.card-item:hover {
    border: 1px solid #650405;
}
.card-item img {
    width: 100%;
    height: 160px;
    justify-self: center;
    align-self: center;
    object-fit: cover;
}
.card-item a {
    display: flex;
    flex-direction: column;
}
.card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
}
a:hover {
    text-decoration: none;
}
a:hover h3 {
    text-decoration: underline;
}
.card-content h3 {
    color: black;
    font-size: 16px;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: center;
}
.card-content span {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 0;
    white-space: normal;
}
.category-item {
    padding: 10px 0;
    transition: background-color 0.3s ease;
    list-style-type: none;
    position: relative;
}
.category-item::before {
    content: none;
}

.category-link::before {
    content: "";
    width: 16px;
    height: 16px;
    left: 0;
    top: calc(50% - 8px);
    background-image: url(https://chamovskikh.com/DESIGN/SITE/images/zoom.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    position: absolute;
}
.category-link:hover::before {
    filter: brightness(0) saturate(100%) invert(12%) sepia(84%) saturate(4258%) hue-rotate(349deg) brightness(53%) contrast(104%);
}
.category-link::after {
    content: ">";
    font-size: 16px;
    color: #727272;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.category-link:hover::after {
    color: #6f0824;
}
.category-link {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    display: block;
    position: relative;
    padding-left: 40px;
}
.category-name {
    color: #000000;
}
.category-item:hover .category-link {
    text-decoration: none;
    color: #6f0824;
}
@media (min-width: 1000px) and (max-height: 800px){
    .category-link {
        font-size: 16px;
    }
    .found-quantity{
        font-size: 16px;
    }

    .category-item {
        padding: 5px 0;
    }
    .card-content h3 {
        font-size: 14px;
        line-height: 1.8;
    }
    .card-item p {
        font-size: 14px;
        line-height: 1.8;
    }
    .card-content span {
        font-size: 12px;
    }
    .card-item img {
        height: 140px;
        width: 80%;
    }
    .title-list {
        font-size: 16px;
    }
    .search-form {
        padding: 15px 20px;
    }
    .search-form input {
        font-size: 22px;
    }
    .remove-history{
        font-size: 16px;
    }

}
@media (min-width: 1000px) and (max-height: 730px){
    .scrollable-list {
        padding: 0;
    }
    .category-item-list {
        margin: 5px 0;
    }
    .category-link {
        font-size: 14px;
    }
    .found-quantity{
        font-size: 14px;
    }
    .category-item {
        padding: 3px 0;
    }
    .card-content h3 {
        font-size: 14px;
        line-height: 1.8;
    }
    .card-item p {
        font-size: 14px;
        line-height: 1.8;
    }
    .card-content span {
        font-size: 12px;
    }
    .card-item img {
        height: 100px;
        width: 60%;
    }
    .search-form {
        padding: 10px 20px;
        height: 95px;
    }
    .search-form input {
        font-size: 20px;
    }
    .remove-history{
        font-size: 14px;
    }
}
@media (min-width: 1000px) and (max-height: 650px){
    .card-content {
        padding: 0px;
    }
    .card-item img {
        height: 80px;
        width: 50%;
    }
    .card-content h3 {
        font-size: 12px;
        line-height: 1.6;
        margin: 0;
    }
    .card-item p {
        font-size: 12px;
        line-height: 1.6;
    }
    .category-link {
        font-size: 13px;
    }
    .found-quantity{
        font-size: 13px;
    }
    .search-form {
        height: 90px;
    }
}
@media (max-width: 1000px) {
    .category-link {
        font-size: 14px;
    }
    .card-item {
        width: 160px;
    }
    .card-item img {
        height: 120px;
    }
    .card-content h3 {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
        padding-top: 0;
    }
    .category-item-list {
        margin: 5px 0;
    }
    .found-quantity{
        font-size: 14px;
    }
    .scroll-button.left {
        margin-left: 25px;
    }
    .scroll-button.right {
        margin-right: 25px;

    }
    #liveSearchResultsMobile p {
        margin: 10px 0;
        font-size: 14px;
        line-height: 1.5;
    }
    .card-content span {
        font-size: 12px;
    }
    .category-item {
        padding: 5px 0;
    }

    ul li + li {
        margin-top: 0;
    }
    .title-list {
        font-size: 16px;
        margin-top: 10px;
    }
    .remove-history {
        font-size: 14px;
    }
    .clear-input {
        font-size: 20px;
        right: 60px;
    }
}
@media (max-width: 359px) {
    .category-item {
        padding: 5px 5px;
    }
}