.showroom-card__pay,
.paypal-checkout-section,
.paypal-checkout-section *,
.paypal-checkout-section *::before,
.paypal-checkout-section *::after {
	box-sizing: border-box;
}

.showroom-card__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 32px);
	min-height: 46px;
	margin: -4px 16px 18px;
	border: 1px solid rgba(181, 143, 84, 0.7);
	border-radius: 999px;
	background: linear-gradient(135deg, #d8b66f, #a9783f);
	color: #fffaf0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 14px 30px rgba(65, 45, 22, 0.14);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.showroom-card__pay:hover,
.showroom-card__pay:focus-visible {
	color: #fff;
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(65, 45, 22, 0.2);
}

.paypal-checkout-section {
	padding-bottom: clamp(64px, 8vw, 110px);
	overflow: hidden;
}

.paypal-checkout-alert,
.paypal-success-panel,
.paypal-checkout-layout {
	border: 1px solid rgba(49, 43, 35, 0.13);
	background: rgba(255, 252, 247, 0.78);
	box-shadow: 0 24px 70px rgba(33, 25, 18, 0.08);
}

.paypal-checkout-alert,
.paypal-success-panel {
	max-width: 820px;
	padding: clamp(24px, 5vw, 48px);
	border-radius: 8px;
}

.paypal-checkout-alert {
	display: grid;
	gap: 8px;
	color: #312b23;
}

.paypal-checkout-alert span,
.paypal-success-panel p {
	color: rgba(49, 43, 35, 0.68);
}

.paypal-checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: clamp(18px, 3vw, 36px);
	width: 100%;
	max-width: 100%;
	padding: clamp(18px, 3.5vw, 34px);
	border-radius: 8px;
}

.paypal-checkout-form {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.paypal-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
}

.paypal-product-card {
	position: relative;
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	min-height: 118px;
	max-width: 100%;
	overflow: hidden;
	border: 1px solid rgba(49, 43, 35, 0.12);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.72);
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.paypal-product-card:hover,
.paypal-product-card.is-selected {
	border-color: rgba(181, 143, 84, 0.7);
	box-shadow: 0 16px 34px rgba(49, 43, 35, 0.1);
	transform: translateY(-1px);
}

.paypal-product-card input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.paypal-product-card__media {
	display: block;
	height: 100%;
	background: #1c1815;
}

.paypal-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.paypal-product-card__body {
	display: grid;
	align-content: center;
	gap: 8px;
	min-width: 0;
	padding: 14px 14px 14px 16px;
}

.paypal-product-card__body strong {
	display: block;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	color: #2b2520;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.15rem, 2.8vw, 1.55rem);
	font-weight: 600;
	line-height: 0.98;
	overflow-wrap: anywhere;
}

.paypal-product-card__body em,
.paypal-product-card__body small {
	display: block;
	width: auto;
	max-width: 100%;
	color: rgba(49, 43, 35, 0.68);
	font-style: normal;
	font-size: 0.76rem;
	overflow-wrap: anywhere;
}

.paypal-product-card__body em {
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(181, 143, 84, 0.16);
	color: #7b572a;
	font-weight: 700;
}

.paypal-remarks {
	display: grid;
	gap: 10px;
	color: #2b2520;
	font-weight: 700;
}

.paypal-remarks textarea {
	width: 100%;
	min-height: 148px;
	resize: vertical;
	border: 1px solid rgba(49, 43, 35, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.78);
	color: #2b2520;
	font: inherit;
	line-height: 1.55;
	padding: 15px 16px;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.paypal-remarks textarea:focus {
	border-color: rgba(181, 143, 84, 0.85);
	box-shadow: 0 0 0 3px rgba(181, 143, 84, 0.16);
}

.paypal-status {
	min-height: 24px;
	color: rgba(49, 43, 35, 0.72);
	font-size: 0.92rem;
}

.paypal-status.is-error {
	color: #8d2f2f;
	font-weight: 700;
}

.paypal-status.is-success {
	color: #46653b;
	font-weight: 700;
}

.paypal-buttons {
	min-height: 52px;
	max-width: 460px;
}

.paypal-order-summary {
	position: sticky;
	top: 108px;
	align-self: start;
	display: grid;
	gap: 18px;
	max-width: 100%;
	overflow: hidden;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid rgba(49, 43, 35, 0.12);
	border-radius: 8px;
	background:
		linear-gradient(160deg, rgba(49, 43, 35, 0.08), transparent 40%),
		rgba(244, 238, 228, 0.78);
}

.paypal-order-summary h2,
.paypal-success-panel h1 {
	margin: 0;
	color: #231f1b;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	line-height: 0.98;
}

.paypal-order-summary h2 {
	font-size: clamp(2rem, 5vw, 3.2rem);
}

.paypal-success-panel h1 {
	font-size: clamp(2.6rem, 8vw, 5rem);
}

.paypal-order-summary dl,
.paypal-success-panel dl {
	display: grid;
	gap: 10px;
	margin: 0;
}

.paypal-order-summary dl div,
.paypal-success-panel dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(49, 43, 35, 0.1);
}

.paypal-order-summary dt,
.paypal-success-panel dt {
	color: rgba(49, 43, 35, 0.54);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.paypal-order-summary dd,
.paypal-success-panel dd {
	margin: 0;
	color: #2b2520;
	font-weight: 700;
	text-align: right;
	overflow-wrap: anywhere;
}

.paypal-order-summary p:not(.section-label) {
	margin: 0;
	color: rgba(49, 43, 35, 0.66);
	line-height: 1.65;
	overflow-wrap: anywhere;
}

@media (max-width: 820px) {
	.paypal-checkout-layout {
		grid-template-columns: 1fr;
	}

	.paypal-order-summary {
		position: static;
		order: -1;
	}

	.paypal-product-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 540px) {
	.cosloom-route--light-custom-payment {
		overflow-x: hidden;
	}

	.cosloom-route--light-custom-payment .paypal-checkout-section.section-shell {
		width: 100%;
		max-width: 100vw;
		margin-inline: 0;
		padding-inline: 16px;
	}

	.showroom-card__pay {
		width: calc(100% - 24px);
		min-height: 44px;
		margin: -2px 12px 14px;
		font-size: 0.72rem;
	}

	.paypal-checkout-layout {
		margin-inline: 0;
		width: calc(100vw - 48px);
		max-width: calc(100vw - 48px);
		padding: 12px;
	}

	.paypal-order-summary,
	.paypal-product-card {
		width: 100%;
		max-width: 320px;
		justify-self: start;
	}

	.paypal-order-summary h2 {
		font-size: 2.08rem;
	}

	.paypal-product-grid {
		justify-items: start;
	}

	.paypal-order-summary dl div,
	.paypal-success-panel dl div {
		display: grid;
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.paypal-order-summary dd,
	.paypal-success-panel dd {
		text-align: left;
	}

	.paypal-product-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.paypal-product-card__media {
		height: 148px;
	}

	.paypal-product-card__body {
		padding: 12px;
	}
}
