/* Withdrawal page and the withdrawal boxes elsewhere. Colours and buttons come from the Riode theme. */

.profline-withdrawal {
	color: var(--rio-body-color, #474747);
}

.profline-withdrawal h3 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.profline-withdrawal__box {
	margin-bottom: 2rem;
	padding: 2.5rem 3rem;
	border: 1px solid #e1e1e1;
}

.profline-withdrawal__box > :last-child {
	margin-bottom: 0;
}

.profline-withdrawal__intro p {
	max-width: 72rem;
}

.profline-withdrawal__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 2rem 0 3rem;
	padding: 0;
	list-style: none;
	font-weight: 600;
	color: var(--rio-dark-color, #333);
}

.profline-withdrawal__steps li {
	padding-top: 1rem;
	border-top: 2px solid #e1e1e1;
}

.profline-withdrawal__steps span {
	display: block;
	font-size: 1.2rem;
	color: var(--rio-primary-color, #d26a1b);
}

.profline-withdrawal__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 2rem;
}

.profline-withdrawal label {
	display: block;
	margin-bottom: .5rem;
}

.profline-withdrawal .form-control {
	width: 100%;
	margin-bottom: 1.5rem;
}

/* Riode's form-control height clips the text of a select. */
.profline-withdrawal select.form-control {
	height: auto;
	padding-top: .9rem;
	padding-bottom: .9rem;
	line-height: 1.4;
}

.profline-withdrawal__meta,
.profline-withdrawal__small,
.profline-withdrawal small {
	font-size: 1.3rem;
	color: #999;
}

/* Statement form: products and fields on the left, summary on the right. */
.profline-withdrawal__form {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.profline-withdrawal__items {
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.profline-withdrawal__items li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}

.profline-withdrawal__items li:last-child {
	border-bottom: 1px solid #eee;
}

.profline-withdrawal__items label {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	cursor: pointer;
}

.profline-withdrawal__items input[type="checkbox"] {
	flex: none;
	width: 1.8rem;
	height: 1.8rem;
	accent-color: var(--rio-primary-color, #d26a1b);
}

.profline-withdrawal__thumb img {
	display: block;
	width: 6rem;
	height: auto;
}

.profline-withdrawal__name {
	flex: 1;
	color: var(--rio-dark-color, #333);
}

.profline-withdrawal__name small {
	display: block;
}

.profline-withdrawal__price {
	font-weight: 600;
	white-space: nowrap;
}

.profline-withdrawal__items select.form-control {
	width: 7rem;
	margin: 0;
}

.profline-withdrawal__methods {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

.profline-withdrawal__methods legend {
	margin-bottom: .5rem;
	padding: 0;
	font-size: inherit;
}

.profline-withdrawal__methods label {
	display: flex;
	align-items: center;
	gap: .8rem;
	cursor: pointer;
}

.profline-withdrawal__summary {
	position: sticky;
	top: 2rem;
}

.profline-withdrawal table {
	width: 100%;
	margin-bottom: 1.5rem;
	border-collapse: collapse;
}

.profline-withdrawal th,
.profline-withdrawal td {
	padding: .8rem 0;
	border-bottom: 1px solid #eee;
	vertical-align: top;
	font-weight: 400;
	text-align: left;
}

.profline-withdrawal td {
	text-align: right;
}

.profline-withdrawal__total th,
.profline-withdrawal__total td {
	font-weight: 700;
	color: var(--rio-dark-color, #333);
}

.profline-withdrawal__summary .btn {
	width: 100%;
	margin: 1rem 0;
}

.profline-withdrawal__orders,
.profline-withdrawal__records {
	margin: 0;
	padding: 0;
	list-style: none;
}

.profline-withdrawal__orders li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}

.profline-withdrawal__records li {
	padding: 1rem 0;
	border-top: 1px solid #eee;
}

.profline-withdrawal__done td {
	text-align: left;
}

.profline-withdrawal__check {
	font-weight: 700;
	color: var(--rio-success-color, #a8c26e);
}

/* Boxes on the thank-you page, in My Account and in the cart. */
.profline-withdrawal-notice {
	margin: 3rem 0;
	padding: 2.5rem 3rem;
	border: 1px solid #e1e1e1;
}

.profline-withdrawal-notice.is-closed {
	padding: 1.5rem 2rem;
}

.profline-withdrawal-notice p:last-child {
	margin-bottom: 0;
}

.profline-withdrawal-notice__label {
	margin-bottom: .5rem;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--rio-primary-color, #d26a1b);
}

.profline-withdrawal-notice h3 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.profline-withdrawal-cart-note {
	margin-top: 1.5rem;
	font-size: 1.3rem;
	color: #999;
}

@media (max-width: 991px) {
	.profline-withdrawal__form {
		grid-template-columns: 1fr;
	}

	.profline-withdrawal__summary {
		position: static;
	}
}

@media (max-width: 575px) {
	.profline-withdrawal__box,
	.profline-withdrawal-notice {
		padding: 2rem 1.6rem;
	}

	.profline-withdrawal__steps {
		grid-template-columns: 1fr 1fr;
	}

	.profline-withdrawal__fields {
		grid-template-columns: 1fr;
	}

	.profline-withdrawal__thumb {
		display: none;
	}
}
