@media (min-width: 1200px) {
	.ast-plain-container.ast-no-sidebar #primary {
		margin-top: 20px;
	}
}
.cmc-category-list {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
}
.cmc-mobile-restricted {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #f8f9fa;
	color: #333;
	font-size: 1rem;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	margin: 20px;
}
.cmc-mobile-restricted p {
	max-width: 600px;
	line-height: 1.5;
}
.wp-block-spacer {
	display: none !important;
}
.cmc-heading-area {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.cmc-heading-left {
	width: 50%;
	text-align: left;
}
.cmc-heading-right {
	width: 50%;
	text-align: right;
}
.cmc-mosaic-select-area {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.cmc-category-area {
	width: 16%;
}
.cmc-mosaic-preview-area {
	position: relative;
	width: 100%;
	height: 450px;
	background: #fff;
}
#cmc-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
}
.cmc-modal-inner {
	position: relative;
	width: 100%;
	padding: 20px;
	background: #fff;
	box-sizing: border-box;
	height: 100vh;
}
.cmc-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#cmc-modal-close {
	position: absolute;
	top: 0px;
	right: 0;
	background: none;
	border: none;
	font-size: 48px;
	cursor: pointer;
	z-index: 1;
	color: #000;
}
.cmc-category-area .cmc-category-list {
	display:block;
}
.cmc-category-list-modal {
	list-style: none;
	padding: 0;
	margin: 20px 0 5px;
	display: flex;
	gap: 10px;
}
.cmc-mosaic-cat-view-area {
	width: 84%;
}
.cmc-svg-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}
.cmc-mosaic-layout-top {
	display: flex;
	justify-content: space-between;
}
#cmc-pattern-area {
	margin-top:18px;
}
.cmc-top-area {
	display: flex;
	padding-right: calc(1.5rem * .5);
	padding-left: calc(1.5rem * .5);
}
.cmc-top-left {
	width: 67%;
}
.cmc-top-left h1 {
	font-size:28px;
	margin-bottom:18px;
}
.cmc-top-right {
	width: 33%;
	text-align: right;
}
.cmc-mosaic-layout {
	width: 75%;
	padding-right: calc(1.5rem * .5);
	padding-left: calc(1.5rem * .5);
}
.cmc-part-area {
	width: 25%;
	padding-right: calc(1.5rem * .5);
	padding-left: calc(1.5rem * .5);
}
.cmc-part-area h4, .cmc-mosaic-header h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom:16px;
}
.cmc-art-area {
	display: flex;
	flex-wrap: wrap
}
.cmc-category-list li {
	display: flex;
	align-items: center;
	cursor: pointer;
}
.cmc-color-item {
	width: 100%;
	height: auto;
}
.cmc-color-image {
	width: 100%;
	height: 150px;
	background-size: cover;
	background-position: center;
	cursor: pointer;
}
.pattname {
	font-size: 14px;
	color: #333;
	padding: 5px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}
.cmc-svg-color-status {
	text-align: center;
}
.cmc-category-icon {
	margin-right: 10px;
}
.cmc-pattern-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	width: 100%;
}
.cmc-pattern-grid a {
	position: relative;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	display: inline-block;
}
.cmc-pattern-grid a::before,.cmc-pattern-grid a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	transition: all 0.3s ease-in-out;
	border-style: solid;
	border-color: transparent;
}
.cmc-pattern-grid a::before {
	top: -5px;
	left: -5px;
	border-width: 1px 0 0 1px;
}
.cmc-pattern-grid a::after {
	right: -5px;
	bottom: -5px;
	border-width: 0 1px 1px 0;
}
.cmc-pattern-grid a:hover::before,.cmc-pattern-grid a:hover::after {
	width: calc(100% + 10px);
	height: calc(100% + 10px);
	border-color: #000;
}
.cmc-save-request-btn {
	border-style: solid;
	border-width: 0;
	color: #ffffff;
	border-color: #000;
	background-color: #000;
	padding: 12px 30px 15px;
	font-size: 16px;
	line-height: 16px;
}
.cmc-save-request-btn:hover {
	background-color: #677381;
}
.cmc-svg-wrap {
	position: relative;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	display: inline-block;
}
.cmc-svg-wrap::before,.cmc-svg-wrap::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	transition: all 0.3s ease-in-out;
	border-style: solid;
	border-color: transparent;
}
.cmc-svg-wrap::before {
	top: -5px;
	left: -5px;
	border-width: 1px 0 0 1px;
}
.cmc-svg-wrap::after {
	right: -5px;
	bottom: -5px;
	border-width: 0 1px 1px 0;
}
.cmc-svg-wrap:hover::before,.cmc-svg-wrap:hover::after {
	width: calc(100% + 10px);
	height: calc(100% + 10px);
	border-color: #000;
	pointer-events: none;
}
.cmc-svg-color-status {
	font-size: 13px;
	text-align: center;
	margin-bottom: 0;
	line-height: 13px;
	margin: 13px 0 0;
}
.cmc-coverage-area p {
	margin-bottom: 0 !important;
}
.cmc-coverage-area span {
	font-weight: 600;
	color:#000;
}
.cmc-pattern-wrap {
	box-sizing: border-box;
	padding: 10px;
	text-align: center;
}
.cmc-pattern-wrap img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 5px;
}
#background-canvas {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.cmc-cate-name {
	margin: .8em 0 .2em !important;
	font-size: 12px;
	color: #939393;
}
.cmc-patt-name {
	line-height: 16px;
	font-size: 16px;
	margin: 0 !important;
	text-transform: uppercase;
	color:#000;
}
#cmc-canvas {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.cmc-bottom-area {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 25px;
}
.cmc-bottom-right {
	margin-top: 20px;
	display: flex;
	justify-content: end;
}
.cmc-bottom-right h5 {
	margin-bottom: 0;
	margin-right: 15px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-align: right;
}
.cmc-bottom-left h5 {
	margin: 20px 0 0;
	font-size: 14px;
	font-weight: 400;
}
.grout-color-picker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.grout-color-item {
	width: 45px;
	height: 45px;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}
.cmc-category-item {
	cursor: pointer;
	margin: 0 4px 7px 0
}
.cmc-category-item.active {
	border-bottom: 3px solid #000;
}
.cmc-color-content {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.modal-header-right {
	margin-left: 17px;
	font-weight: 300;
	font-size:14px;
}
.cmc-user-bar {
    width: 100%;
    background: #333;
    color: #fff;
    padding: 3px;
    text-align: center;
}
.cmc-user-bar a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}
.cmc-user-bar a:hover {
    text-decoration: underline;
}
.cmc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.cmc-pagination a,
.cmc-pagination span {
    display: inline-block;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cmc-pagination a:hover {
    background-color: #333;
    color: #fff;
}

.cmc-pagination .current {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.cmc-pagination .prev,
.cmc-pagination .next {
    font-weight: bold;
}
.spinnerrenk {
    width: 50px;
    height: 50px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #292728;
    border-radius: 50%;
    animation: spinrenk 0.8s linear infinite;
    box-shadow: 0 4px 15px rgba(41, 39, 40, 0.15);
}

@keyframes spinrenk {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
