/* Prop Catalogue – category filter, grid, quantity selector, "Selected props" cart
   (Figma: Eden Studio, node 2:292) */

@import url( 'https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700&family=Inter:wght@600&family=Manrope:wght@500&display=swap' );

.cwpl-catalogue {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
	max-width: 100%;
}

.cwpl-catalogue__title {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 500;
	font-size: 35px;
	line-height: 42px;
	color: #141618;
}

.cwpl-catalogue--empty {
	align-items: center;
	padding: 80px 0;
	text-align: center;
	gap: 10px
}

.cwpl-catalogue__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: #f2f2f2;
	color: #4b5054;
}

.cwpl-catalogue__empty-text {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-size: 20px;
	line-height: 24px;
	color: #4b5054;
}

/* Category tabs */
.cwpl-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 24px 30px;
	background: #f5f5f5;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.cwpl-tab {
	flex-shrink: 0;
	white-space: nowrap;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 20px;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 14.4px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #777;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cwpl-tab.is-active {
	background: #141618;
	border-color: #141618;
	color: #fff;
}

/* Grid */
.cwpl-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 24px;
}

.cwpl-grid--cols-2 {
	grid-template-columns: repeat( 2, 1fr );
}

.cwpl-grid--cols-4 {
	grid-template-columns: repeat( 4, 1fr );
}

.cwpl-prop-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
}

.cwpl-prop-card[hidden] {
	display: none;
}

.cwpl-prop-card__full-description[hidden] {
	display: none;
}

.cwpl-prop-card:focus-visible {
	outline: 2px solid #066aab;
	outline-offset: 2px;
}

.cwpl-prop-card__image {
	height: 220px;
	background: #f0f0f0;
}

.cwpl-prop-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cwpl-prop-card__content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
}

.cwpl-prop-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cwpl-prop-card__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cwpl-prop-card__category {
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 12px;
	line-height: 14.4px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #e32f29;
}

.cwpl-prop-card__name {
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	color: #141618;
}

.cwpl-prop-card__description {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 18px;
	color: #777;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cwpl-prop-card__read-more {
	align-self: flex-start;
	padding: 0;
	border: none;
	background: none;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #066aab;
	text-decoration: underline;
	cursor: pointer;
}

.cwpl-prop-card__action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cwpl-prop-card__price {
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	color: #066aab;
}

.cwpl-prop-card__qty-available {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	color: #6b7075;
	background-color: #f5f5f5;
	border-radius: 12px;
	border: 1px solid #e6e6e6;
	padding: 2px 8px;
}

/* Quantity control */
.cwpl-qty {
	display: flex;
	align-items: center;
	background: #f5f5f5;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
	overflow: hidden;
}

.cwpl-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: none;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	color: #141618;
	cursor: pointer;
}

.cwpl-qty__btn--minus {
	color: #777;
}

.cwpl-qty__btn:hover {
	background: rgba(0, 0, 0, 0.06);
}

.cwpl-qty__value {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 12px;
	background: #fff;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #141618;
}

/* View more */
.cwpl-load-more {
	align-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 12px 32px;
	background: transparent;
	border: 1px solid #066aab;
	border-radius: 3px;
	color: #066aab;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.34px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.cwpl-load-more:hover {
	background: #066aab;
	color: #fff;
}

.cwpl-load-more[hidden] {
	display: none;
}

/* Empty-selection sticky bar (Figma: Eden Studio, node 2:163 — StickyBottomBar) */
.cwpl-empty-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 24px 50px;
	background: #141618;
	border: 1px solid #fff;
	border-radius: 8px;
}

.cwpl-empty-bar[hidden] {
	display: none;
}

.cwpl-empty-bar__left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.cwpl-empty-bar__count {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	font-weight: 500;
	font-size: 25px;
	line-height: 30px;
	color: #fff;
}

.cwpl-empty-bar__note {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #777;
}

.cwpl-empty-bar__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 12px 32px;
	background: #066aab;
	border-radius: 3px;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.34px;
	white-space: nowrap;
	opacity: 0.5;
	cursor: not-allowed;
}

/* Selected props cart */
.cwpl-cart {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}

.cwpl-cart[hidden] {
	display: none;
}

.cwpl-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.cwpl-cart__title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cwpl-cart__title {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #141618;
}

.cwpl-cart__subtitle {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #777;
}

.cwpl-cart__total {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #066aab;
	white-space: nowrap;
}

.cwpl-cart__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cwpl-cart__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 12px 10px 10px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 6px;
}

.cwpl-cart__row-image {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	background-size: cover;
	background-position: center;
	background-color: #f0f0f0;
}

.cwpl-cart__row-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 0 0;
	min-width: 0;
}

.cwpl-cart__row-name {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #141618;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cwpl-cart__row-category {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 500;
	font-size: 12px;
	color: #e32f29;
}

.cwpl-cart__row-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	width: 130px;
	flex-shrink: 0;
	white-space: nowrap;
}

.cwpl-cart__row-unit {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #777;
}

.cwpl-cart__row-line {
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #141618;
}

.cwpl-cart__row-remove {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 50%;
	font-size: 18px;
	line-height: 1;
	color: #999;
	cursor: pointer;
}

.cwpl-cart__row-remove:hover {
	background: rgba(227, 47, 41, 0.1);
	color: #e32f29;
}

/* Cart row quantity control (smaller variant of .cwpl-qty) */
.cwpl-qty--cart {
	flex-shrink: 0;
	gap: 14px;
	height: 36px;
	padding: 0 10px;
	background: #f5f5f5;
	border: 1px solid #e6e6e6;
}

.cwpl-qty--cart .cwpl-qty__btn {
	width: auto;
	height: auto;
	padding: 0;
	font-size: 16px;
}

.cwpl-qty--cart .cwpl-qty__value {
	min-width: 0;
	height: auto;
	padding: 0;
	background: transparent;
	font-size: 15px;
}

.cwpl-cart__divider {
	height: 1px;
	background: #e6e6e6;
}

.cwpl-cart__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.cwpl-cart__note {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cwpl-cart__note-title {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: #777;
}

.cwpl-cart__note-text {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #777;
}

.cwpl-cart__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 12px 32px;
	background: #066aab;
	border-radius: 3px;
	color: #fff!important;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.34px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.cwpl-cart__cta:hover,
.cwpl-cart__cta:focus {
	opacity: 0.9;
	color: #fff;
}

@media ( max-width: 900px ) {
	.cwpl-grid,
	.cwpl-grid--cols-2,
	.cwpl-grid--cols-4 {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 600px ) {
	.cwpl-grid,
	.cwpl-grid--cols-2,
	.cwpl-grid--cols-4 {
		grid-template-columns: 1fr;
	}

	.cwpl-catalogue__title {
		font-size: 26px;
		line-height: 32px;
	}

	.cwpl-tabs {
		padding: 16px;
		gap: 8px;
	}

	.cwpl-tab {
		padding: 8px 12px;
	}

	.cwpl-prop-card__image {
		height: 180px;
	}

	.cwpl-cart {
		padding: 16px;
	}

	.cwpl-cart__row {
		flex-wrap: wrap;
	}

	.cwpl-cart__row-price {
		width: auto;
		align-items: flex-start;
		margin-left: 80px;
	}

	.cwpl-cart__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.cwpl-cart__cta {
		width: 100%;
	}

	.cwpl-empty-bar {
		flex-direction: column;
		align-items: stretch;
		padding: 20px 24px;
	}

	.cwpl-empty-bar__cta {
		width: 100%;
	}
}

/* Prop details popover (Figma: Eden Studio, node 109:9) */
body.cwpl-popover-open {
	overflow: hidden;
}

.cwpl-popover {
	position: fixed;
	inset: 0;
	/* Higher than the theme's sticky header/menu layers (Uncode goes up to
	   999999 for its own overlays) so the popover always sits on top. */
	z-index: 999999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.cwpl-popover[hidden] {
	display: none;
}

.cwpl-popover__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.cwpl-popover__panel {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	max-width: 940px;
	max-height: 74.7vh;
	height: 100%;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cwpl-popover__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 16px;
	font-size: 18px;
	line-height: 1;
	color: #141618;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cwpl-popover__close:hover {
	background: rgba(0, 0, 0, 0.08);
}

.cwpl-popover__image {
	position: relative;
	flex: 0 0 450px;
	width: 450px;
	background-size: contain;
    background-position: top;
    background-color: #f0f0f0;
    background-repeat: no-repeat;
}

.cwpl-popover__image-price {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 6px 14px;
	background: #fff;
	border-radius: 20px;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #066aab;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cwpl-popover__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1 1 490px;
	min-width: 0;
	padding: 36px;
	overflow-y: auto;
}

.cwpl-popover__header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cwpl-popover__category {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #e32f29;
}

.cwpl-popover__name {
	margin: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 28px;
	line-height: 34px;
	color: #141618;
}

.cwpl-popover__description {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 28px;
	color: #555;
}

.cwpl-popover__description[hidden] {
	display: none;
}

.cwpl-popover__description > *:first-child {
	margin-top: 0;
}

.cwpl-popover__description > *:last-child {
	margin-bottom: 0;
}

.cwpl-popover__description p,
.cwpl-popover__description ul,
.cwpl-popover__description ol {
	margin: 0 0 12px;
}

.cwpl-popover__description ul,
.cwpl-popover__description ol {
	padding-left: 20px;
}

.cwpl-popover__description ul {
	list-style: disc outside;
}

.cwpl-popover__description ol {
	list-style: decimal outside;
}

.cwpl-popover__description li {
	margin: 0 0 8px;
	font-size: 13px;
}

.cwpl-popover__divider {
	flex-shrink: 0;
	height: 1px;
	background: #e6e6e6;
}

.cwpl-popover__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cwpl-popover__meta-row {
	margin: 0;
	display: flex;
	gap: 8px;
}

.cwpl-popover__meta-row[hidden] {
	display: none;
}

.cwpl-popover__meta-label {
	flex-shrink: 0;
	font-family: 'Jost', sans-serif;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	color: #777;
}

.cwpl-popover__meta-value {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #141618;
}

@media ( max-width: 900px ) {
	.cwpl-popover {
		padding: 16px;
	}

	.cwpl-popover__panel {
		flex-direction: column;
		max-height: 92vh;
	}

	.cwpl-popover__image {
		flex: 0 0 220px;
		width: 100%;
		height: 220px;
	}

	.cwpl-popover__image-price {
		top: auto;
		bottom: 16px;
	}

	.cwpl-popover__body {
		padding: 24px;
	}

	.cwpl-popover__name {
		font-size: 22px;
		line-height: 28px;
	}
}

@media ( max-width: 600px ) {

	.cwpl-popover__image {
		flex: 0 0 400px;
		width: 100%;
		height: 400px;
	}
}