/* Rare Commerce Core storefront styles. Theme-only presentation should stay in the child theme. */

.rcc-profile-single,
.rcc-profile-archive {
	max-width: 1180px;
	margin: 0 auto;
	padding: 38px 18px 56px;
	color: #24313d;
}

.single-designer .rcc-profile-single {
	max-width: 100%;
	padding: 0;
}

body .single-studio .rcc-profile-single--studio,
.post-type-archive-designer .rcc-profile-archive {
	width: 90%;
	max-width: 90%;
	padding: 0;
}

.rcc-profile-single__header,
.rcc-profile-archive__header {
	margin: 0 0 26px;
}

.rcc-profile-single__title,
.rcc-profile-archive__title {
	margin: 0;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
}

.single-studio .rcc-profile-single__title {
	font-size: 28px;
	text-transform: uppercase;
}

.rcc-profile-archive__title,
.rcc-relationship-carousel__title,
.rp-studio-products h2 {
	font-size: 24px;
	text-transform: uppercase;
}

.rcc-profile-single__media {
	margin: 0 0 22px;
}

.rcc-profile-single__image {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: 6px;
}

.rcc-profile-single__content {
	margin: 0 0 30px;
	color: #334155;
	line-height: 1.7;
}

.rcc-profile-archive__empty {
	margin: 20px 0;
	color: #667085;
}

.rcc-designer-alpha {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	overflow-x: auto;
	overflow-y: hidden;
	margin: 0 0 26px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(36, 49, 61, .12);
	background: #fff;
	scrollbar-width: none;
	touch-action: pan-x;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.rcc-designer-alpha::-webkit-scrollbar,
.rcc-relationship-carousel__track::-webkit-scrollbar {
	display: none;
}

.rcc-designer-alpha__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border: 1px solid rgba(36, 49, 61, .16);
	border-radius: 4px;
	color: #24313d;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.rcc-designer-alpha__link:hover,
.rcc-designer-alpha__link:focus,
.rcc-designer-alpha__link.is-active {
	border-color: #BC8200;
	background: #BC8200;
	color: #fff;
	text-decoration: none;
}

.rcc-designer-directory__group {
	margin: 0 0 34px;
	scroll-margin-top: 70px;
}

.rcc-designer-directory__letter {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(36, 49, 61, .14);
	font-size: 22px;
	line-height: 1.2;
}

.rcc-designer-directory__grid,
.rcc-studio-directory__grid {
	display: grid;
	gap: 14px;
}

.rcc-designer-directory__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rcc-studio-directory__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rcc-designer-directory__card,
.rcc-studio-card,
.rcc-relationship-carousel__link {
	align-items: center;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.rcc-designer-directory__card {
	display: flex;
	gap: 12px;
	min-height: 78px;
	padding: 10px 12px;
	border: 1px solid rgba(36, 49, 61, .16);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.rcc-designer-directory__card:hover,
.rcc-designer-directory__card:focus,
.rcc-relationship-carousel__link:hover,
.rcc-relationship-carousel__link:focus {
	border-color: rgba(188, 130, 0, .65);
	background: #BC8200;
	color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
	text-decoration: none;
}

.rcc-designer-directory__media {
	flex: 0 0 54px;
}

.rcc-designer-directory__image {
	display: block;
	width: 54px;
	height: 54px;
	object-fit: cover;
	border-radius: 4px;
}

.rcc-designer-directory__image.rcc-designer-logo-fallback,
.rcc-relationship-carousel__image.rcc-designer-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.rcc-designer-directory__image.rcc-designer-logo-fallback {
	font-size: 18px;
}

.rcc-designer-directory__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.rcc-designer-directory__load {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 26px auto 0;
	padding: 10px 22px;
	border: 1px solid #24313d;
	border-radius: 4px;
	background: #24313d;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.rcc-designer-directory__load.is-loading {
	opacity: .62;
	pointer-events: none;
}

.rcc-studio-directory {
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	max-height: calc(100vh - 120px);
	min-height: 420px;
}

.rcc-studio-directory__tabs {
	position: sticky;
	top: 20px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 4px;
	touch-action: pan-y;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.rcc-studio-directory__tab {
	width: 100%;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid rgba(36, 49, 61, .18);
	border-radius: 4px;
	background: #fff;
	color: #24313d;
	text-align: left;
	font-weight: 600;
	cursor: pointer;
}

.rcc-studio-directory__tab:hover,
.rcc-studio-directory__tab:focus,
.rcc-studio-directory__tab.is-active {
	border-color: #BC8200;
	background: #BC8200;
	color: #fff;
}

.rcc-studio-directory__panes {
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	touch-action: pan-y;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.rcc-studio-directory__pane {
	display: none;
}

.rcc-studio-directory__pane.is-active {
	display: block;
}

.rcc-studio-directory__city {
	margin: 0 0 34px;
}

.rcc-studio-directory__city-title {
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 1.3;
}

.rcc-studio-card {
	display: block;
	min-height: 104px;
	padding: 16px;
	border: 1px solid rgba(36, 49, 61, .16);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.rcc-studio-card:hover,
.rcc-studio-card:focus {
	border-color: rgba(188, 130, 0, .65);
	text-decoration: none;
}

.rcc-studio-card__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.rcc-studio-card__address {
	display: block;
	margin-top: 8px;
	color: #667085;
	font-size: 13px;
	line-height: 1.45;
}

.rcc-relationship-carousel {
	--rcc-carousel-items: var(--rcc-carousel-mobile);
	--rcc-carousel-gap: 12px;
	width: 90%;
	margin: 34px auto;
}

.single-designer .rcc-relationship-carousel {
	padding-bottom: 70px;
}

.single-studio .rcc-relationship-carousel {
	width: 100%;
}

.rcc-relationship-carousel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 14px;
}

.rcc-relationship-carousel__title {
	margin: 0;
	line-height: 1.3;
}

.rcc-relationship-carousel__nav {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.rcc-relationship-carousel__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(36, 49, 61, .22);
	border-radius: 50%;
	background: #fff;
	color: #24313d;
	line-height: 1;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.rcc-relationship-carousel__button:hover,
.rcc-relationship-carousel__button:focus {
	border-color: #BC8200;
	background: #BC8200;
	color: #fff;
}

.rcc-relationship-carousel__viewport {
	overflow: hidden;
}

.rcc-relationship-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--rcc-carousel-items) - 1) * var(--rcc-carousel-gap)) / var(--rcc-carousel-items));
	gap: var(--rcc-carousel-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.rcc-relationship-carousel__item {
	min-width: 0;
	scroll-snap-align: start;
}

.rcc-relationship-carousel__link {
	display: flex;
	gap: 12px;
	min-height: 86px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(36, 49, 61, .18);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.rcc-relationship-carousel--with-thumbnails .rcc-relationship-carousel__link {
	padding: 10px 12px;
}

.rcc-relationship-carousel__body {
	display: block;
	min-width: 0;
}

.rcc-relationship-carousel__image {
	display: block;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	object-fit: cover;
	background: #f3f4f6;
}

.rcc-relationship-carousel__image.rcc-designer-logo-fallback {
	font-size: 22px;
}

.rcc-relationship-carousel__name {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.rcc-relationship-carousel__meta {
	display: block;
	margin-top: 4px;
	color: #667085;
	font-size: 12px;
	line-height: 1.4;
}

.rcc-relationship-carousel__link:hover .rcc-relationship-carousel__meta {
	color: #fff;
}

.rp-studio-location-details {
	margin: 18px 0 30px;
	color: #334155;
}

.rp-studio-location-details p {
	margin: 0 0 6px;
}

.rp-studio-location-details__place {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.rp-studio-location-details__address {
	color: #667085;
	font-size: 13px;
	line-height: 1.5;
}

.wb-designer-products,
.rp-studio-products {
	max-width: 90%;
	margin: 50px auto 0;
}

.wb-designer-products__title,
.rp-studio-products__title {
	color: #24313d;
	text-transform: uppercase;
}

.wb-designer-products .new-arrival-item,
.rp-studio-products .new-arrival-item {
	position: relative;
	transform: none;
	opacity: 1;
}

.rcc-product-marquee {
	overflow: hidden;
}

.rcc-product-marquee:not(.is-initialized) .splide__list {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.rcc-product-marquee:not(.is-initialized) .splide__list::-webkit-scrollbar {
	display: none;
}

.rcc-product-marquee:not(.is-initialized) .splide__slide {
	flex: 0 0 min(280px, 78vw);
}

.rcc-product-marquee .splide__slide {
	min-width: 0;
}

.wb-designer-products__product-link,
.rp-studio-products__product-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.wb-designer-products__product-link:hover,
.wb-designer-products__product-link:focus,
.rp-studio-products__product-link:hover,
.rp-studio-products__product-link:focus {
	color: inherit;
	text-decoration: none;
}

.wb-designer-products .custom-wishlist-pos,
.rp-studio-products .custom-wishlist-pos {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
}

.wb-designer-products .bestseller-badge,
.rp-studio-products .bestseller-badge {
	position: absolute;
	top: 0;
	left: 10px;
	z-index: 10;
	padding: 4px 10px;
	border-radius: 5px;
	background: #BC8200;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
}

.wb-designer-products .new-arrival-item img,
.rp-studio-products .new-arrival-item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.wb-designer-products .designernaming,
.rp-studio-products .designernaming {
	margin: 12px 0 4px;
	color: #24313d;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.wb-designer-products .productname,
.rp-studio-products .productname {
	margin: 0 0 6px;
	color: #24313d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.wb-designer-products .product-price-with-tooltip,
.rp-studio-products .product-price-with-tooltip {
	color: #24313d;
	font-size: 14px;
	font-weight: 600;
}

.wb-designer-products__cta-wrap,
.rp-studio-products__cta-wrap {
	margin-top: 26px;
	text-align: center;
}

.wb-designer-products__cta,
.rp-studio-products__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px;
	border: 1px solid #24313d;
	border-radius: 4px;
	background: #24313d;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.wb-designer-products__cta:hover,
.wb-designer-products__cta:focus,
.rp-studio-products__cta:hover,
.rp-studio-products__cta:focus {
	border-color: #BC8200;
	background: #BC8200;
	color: #fff;
	text-decoration: none;
}

.woocommerce-product-search {
	position: relative;
}

.rp-product-search-suggestions {
	position: absolute;
	z-index: 100000;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	display: none;
	max-height: 360px;
	overflow: auto;
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.rp-product-search-suggestions.is-open {
	display: block;
}

.rp-product-search-suggestion {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: #111;
	text-decoration: none;
}

.rp-product-search-suggestion:hover,
.rp-product-search-suggestion:focus {
	background: #f7f7f7;
	color: #111;
}

.rp-product-search-suggestion img {
	flex: 0 0 auto;
	width: 44px;
	height: 58px;
	object-fit: cover;
}

.rp-product-search-suggestion-title {
	display: block;
	font-size: 13px;
	line-height: 1.3;
}

.rp-product-search-suggestion-status {
	padding: 10px 12px;
	color: #666;
	font-size: 13px;
}

.rp-product-search-suggestion-more {
	border-top: 1px solid rgba(0, 0, 0, .08);
	font-weight: 600;
}

.single-product .screen-reader-text {
	display: none;
}

.quantity {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	justify-items: center;
}

.single-product .quantity::before {
	content: "Quantity";
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
	text-transform: capitalize;
}

.quantity .qty {
	text-align: center;
}

.quantity input[type="number"] {
	appearance: textfield;
	-moz-appearance: textfield;
}

.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.quantity .qty-btn {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: #030A10;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

@media (min-width: 768px) {
	.rcc-relationship-carousel {
		--rcc-carousel-items: var(--rcc-carousel-tablet);
	}
}

@media (min-width: 1024px) {
	.rcc-relationship-carousel {
		--rcc-carousel-items: var(--rcc-carousel-desktop);
	}
}

@media (max-width: 900px) {
	.rcc-designer-directory__grid,
	.rcc-studio-directory__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rcc-studio-directory {
		display: block;
		max-height: none;
		min-height: 0;
	}

	.rcc-studio-directory__tabs {
		top: 0;
		z-index: 20;
		flex-direction: row;
		flex-wrap: nowrap;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 10px 0;
		background: #fff;
		touch-action: pan-x;
	}

	.rcc-studio-directory__tab {
		flex: 0 0 auto;
		width: auto;
		white-space: nowrap;
	}

	.rcc-studio-directory__panes {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.wb-designer-products,
	.rp-studio-products {
		max-width: 100%;
		margin-top: 36px;
		padding: 0 16px;
	}

	.wb-designer-products__cta,
	.rp-studio-products__cta {
		width: 100%;
	}
}

@media (max-width: 560px) {
	.rcc-profile-single,
	.rcc-profile-archive {
		padding-right: 14px;
		padding-left: 14px;
	}

	.rcc-designer-directory__grid,
	.rcc-studio-directory__grid {
		grid-template-columns: 1fr;
	}

	.rcc-designer-directory__card {
		min-height: 68px;
	}
}
