/* FRONT */
.tc-cal {
	font-family: system-ui;
}
.tc-cal__nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.tc-cal__tab {
	border-radius: 32px;
	border-radius: 32px;
	border: 1px solid #EFEAE7;
	background: #EFEAE7;
	overflow: hidden;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 20px;
	transition: .3s;
	cursor: pointer;
	position: relative;
	z-index: 1;
	font-size: 14px;
}
.tc-cal__tab:after {
	content: "";
	background: radial-gradient(180% 140% at 0% 75%, #EFC27E 0%, rgba(239, 194, 126, 0) 50%), #EFEAE7;;
	position: absolute;
	left: 0;
	top: 0;
	width: 64px;
	height: 100%;
	z-index: -1;
	opacity: 0;
	transition: .3s;
}
.tc-cal__tab:hover,
.tc-cal__tab.is-active {
	border-color:#EFC27E;
}
.tc-cal__tab:hover:after,
.tc-cal__tab.is-active:after {
	opacity: 1;
}
.tc-cal__panel {
	display:none;
}
.tc-cal__panel.is-active {
	display:block;
}
.tc-cal__header {
	margin-bottom: 24px;
}
.tc-cal__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tc-cal__item {
	display:flex;
	align-items:center;
	justify-content:space-between;
	border:1.5px solid var(--color-bg--medium, #DAD9D6);
	border-radius: 6px;
	padding: 16px var(--sp-16-24);
	background: var(--color-bg--light, #EFEAE7);
	position: relative;
}
.tc-cal__label {
	display:flex;
	align-items:center;
	gap: var(--sp-16-24, 8px 24px);
}
.tc-cal__checkbox {
	border-radius: 4px;
	border: 1.5px solid var(--color-bg--dark, #1E1E1E);
	background: #FFF;
	width: 20px;
	min-width: 20px;
	height: 20px;
	aspect-ratio: 1/1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tc-cal__label .tc-cal__check {
	opacity: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
}
.tc-cal__meta {
	display:flex;
	align-items:center;
	gap:8px 16px;
	opacity: 0;
	visibility: hidden;
}
.tc-cal__qty {
	z-index: 1;
	display:flex;
	align-items:center;
	gap: 2px;
}
.tc-cal__qty-label {
	margin-right: 18px;
}
.tc-cal__qty-input {
	width: 32px;
	text-align:center;
	border: none;
	background: transparent;
	font-size: 22px;
	font-weight: 600;
}
.tc-cal__qty-btn {
	border-radius: 4px;
	background: radial-gradient(141.42% 141.42% at 100% -4950%, rgba(176, 177, 177, 0.30) 0%, rgba(55, 58, 58, 0.30) 100%), #1E1E1E;
	display: flex;
	flex-direction: column;
	padding: 0;
	width: 28px;
	height: 28px;
	border: none;
	color: #fff;
	font-size: 22px;
	border: none;
}
.tc-cal__item:has(input[type="checkbox"]:checked) {
	border-color: var(--color-primary, #D4B27F);
}
.tc-cal__item:has(input[type="checkbox"]:checked) .tc-cal__checkbox {
	background: var(--color-bg--dark, #1E1E1E);
}
.tc-cal__item:has(input[type="checkbox"]:checked) .tc-cal__meta {
	opacity: 1;
	visibility: visible;
}

.tc-cal__submit {
	margin-top: 24px;
	width: 100%;
	display: flex;
	height: 58px;
	padding: 2px 16px;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	align-self: stretch;
	border-radius: 5px;
	border: 1px solid var(--color-tertiary, #AA8E63);
	background: linear-gradient(90deg, #1E1E1E 50%, #AA8E63 130%);
	color: #fff;
	font-weight: 500;
	font-size: 18px;
}


.tc-versions-box {
	display: flex;
	flex-direction: column;
}
.tc-versions-box__title {
	margin-bottom: 12px;
}
.tc-versions-box__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tc-versions-box__item-wrap {
	border-radius: 10px;
	border: 1px solid #DAD9D6;
	background: #EFEAE7;
	padding: 12px;
}
.tc-versions-box__item-name {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
}
.tc-versions-box__footer {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
}
.tc-versions-box__item__icon {
	margin-left: auto;
}
/*
catalog
*/

.tc-nav {
	margin-bottom: 40px;
	display: flex;
	flex-direction: row;
	gap: 12px;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}
.tc-nav__row {
	display:flex;
	gap:1rem;
	flex-wrap:wrap;
}

.tc-nav__row.--r .tc-nav__block {
	background: #EFEAE7;
	border-radius: 6px;
	height: 48px;
	display: flex;
	align-items: stretch;
	justify-content: center;

}
.tc-nav__block.--checks {
	padding: 2px 18px;
}
.tc-nav__btns {
	display:flex;
	gap:1rem;
	flex-wrap:wrap;
}
.tc-nav__block .select2-selection {
	height: 48px!important;
	border: none!important;
	background: none!important;
	border-radius: unset!important;
}
.tc-nav__block .select2-selection .select2-selection__rendered {
	line-height: 48px!important;
	color: #1E1E1E!important;
	padding-left: 18px!important;
	font-weight: 500;
	font-size: 14px;
}
.tc-nav__block .select2-selection .select2-selection__arrow {
	height: 48px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	height: 14px!important;
	width: 14px!important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M0.75 0.75L6.75 6.75L12.75 0.75' stroke='%231E1E1E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px 8px;
	transform: translate(-50%, -50%);
	border: none!important;
	transition: .2s;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	transform: translate(-50%, -50%) rotate(-180deg);
}
.select2-results__option {
	padding: 10px 18px!important;
	font-size: 14px!important;
}
.select2-results__option--highlighted, 
.select2-results__option:hover {
	background-color: #1E1E1E!important;
}

.tc-btn {
	border-radius: 32px;
	border-radius: 32px;
	border: 1px solid #EFEAE7;
	background: #EFEAE7;
	overflow: hidden;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 20px;
	transition: .3s;
	cursor: pointer;
	position: relative;
	z-index: 1;
	font-size: 14px;
	font-weight: 500;
}
.tc-btn:after {
	content: "";
	background: radial-gradient(180% 140% at 0% 75%, #EFC27E 0%, rgba(239, 194, 126, 0) 50%), #EFEAE7;;
	position: absolute;
	left: 0;
	top: 0;
	width: 64px;
	height: 100%;
	z-index: -1;
	opacity: 0;
	transition: .3s;
}
.tc-btn:hover,
.tc-btn.is-active {
	border-color:#EFC27E;
}
.tc-btn:hover:after,
.tc-btn.is-active:after {
	opacity: 1;
}

.tc-nav__checks {
	display: flex;
}
.tc-check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-grow: 1;
	font-size: 14px;
	font-weight: 500;
	flex-direction: row-reverse;
}
.tc-check input[type="checkbox"] {
	appearance: none;
	background-color: #fff;
	margin: 0;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 1.5px solid #1E1E1E;
	background: #FFF;
	display: grid;
	place-content: center;
}
input[type="checkbox"]::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 3px;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 12px 12px #1e1e1e;
}
input[type="checkbox"]:checked::before {
	transform: scale(1);
}

.tc-select {
	min-width: 220px;
	padding:.4rem .5rem;
}
.tc-grid {
	display:grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 32px;
}
.tc-card {
	border-radius:10px;
	overflow:hidden;
	display:flex;
	flex-direction:column;
	position: relative;
	z-index: 1;
	min-height: 440px;
	overflow: hidden;
}
.tc-card:before {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(6px);
}
.tc-card__thumb {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -2;
}
.tc-card__thumb img {
	width:100%;
	height:100%;
	object-fit: cover;
}
.tc-card__inner {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}
.tc-card__header {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
}
.tc-card__date {
	display: flex;
	gap: 2px;
	flex-direction: column;
	text-align: center;
	background: #fff;
	padding: 2px;
	border-radius: 10px;
	min-width: 54px;
}
.tc-card__date-mon {
	color: #fff;
	background: #1E1E1E;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 8px 8px 0 0;
}
.tc-card__date-day {
}
.tc-card__date-dow {
	font-size: 12px;
	color: #B3B3B3;
}
.tc-card__cat {
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	gap: 4px;
	margin-left: auto;
}
.tc-card__cat-item {
	padding: 4px 12px;
	font-size: 12px;
	color: #fff;
	background: #1f1f1f;
	border-radius: 32px;
}

.tc-card__type {
	display: flex;
	align-items: flex-start;
	flex-direction: row;
	gap: 4px;
	font-size: 11px;
	color: #fff;
	margin-bottom: 8px;
}
.tc-card__type-item {
	padding: 4px 10px;
	background: #1E1E1E80;;
	border-radius: 32px;
}
.tc-card__title {
	font-family: var(--font-family-heading), sans-serif;
	line-height: var(--line-height-heading);
	color: #fff;
	font-size: 22px;
	margin-bottom: 8px;
	display: block;
}
.tc-card__desc {
	margin-bottom: 12px;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
}

.tc-card__btn {
	width: 100%;
}
.tc-loading, .tc-empty {
	padding:1rem;
	text-align:center;
	color:#666;
	width: 100%;
	grid-column: span 3;
}
/* Loader */
.tc-loader{
	padding:1rem;
	display:flex;
	align-items:center;
	justify-content:center;
	grid-column: span 3;
}
.tc-spinner{
	width:34px;
	height:34px;
	border:3px solid rgba(0,0,0,.15);
	border-top-color:rgba(0,0,0,.55);
	border-radius:50%;
	animation:tc-spin 1s linear infinite
}
@keyframes tc-spin{
	to{
		transform:rotate(360deg)
	}
}
/* Card enter animation */
.tc-card{
	transition:opacity .3s ease, transform .3s ease
}
.tc-card.will-animate{
	opacity:0;
	transform:translateY(8px)
}
.tc-card.will-animate.is-in{
	opacity:1;
	transform:translateY(0)
}


@media (max-width: 768px) {
	.tc-cal__nav {
		flex-wrap: wrap;
	}
	.tc-cal__nav .fs-18 {
		flex-basis: 100%
	}
}
