/**
 * Theme Name: Blocksy Child
 * Template: blocksy
 */

.price-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  overflow: auto;
}

.price-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.price-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 480px;
  position: relative;
}

.price-modal-title {
  font-size: 24px;
}

.price-modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: none;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #748293;
  cursor: pointer;
}

.price-modal-close:hover {
  color: #ef3237;
}

.wpcf7-textarea {
  height: 120px;
  resize: none;
}

.sidebar-related ul li {
	margin-bottom: 8px;
}

.catalog-sidebar h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.catalog-sidebar .cat-title {
    font-weight: bold;
    margin-bottom:  4px;
}

.catalog-sidebar .cat-block {
    margin-bottom: 16px;
}

.catalog-sidebar .product-list {
    margin-left: 16px; 
}

.service__card {
    position: relative;
    height: 256px;
    overflow: hidden;
    border-radius: 16px;
}

.service__card .attachment-full {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    height: 100%;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg,rgba(0, 0, 0, .9) 0%, rgba(255, 255, 255, .1) 100%);
    height: 100%;
    width: 100%;
    z-index: 1;
}

.service__card .elementor-image-box-description {
    position: absolute;
    color: #fff;
    bottom: 24px;
    left: 24px;
    z-index: 1;
    font-size: 24px;
    text-align: left;
}

.category-partnery .entry-card .boundless-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.category-partnery .entry-card .boundless-image img {
    object-fit: none;
	max-width: 100%;
}

.category-partnery .ct-media-container img {
    object-fit: none;
	max-width: 256px;
}

@media (max-width: 576px) {
	.smslt {
		font-size: 60% !important;
	}	
}