/* ==========================================================================
   Cadeaubon – productpagina (YITH Gift Cards)
   Templates: woocommerce/yith-gift-cards/layouts/2.0/
   Wordt enkel geladen op de productpagina van een cadeaubon.
   ========================================================================== */

.a64-giftcard-page {
	--a64-gc-gold: #ba9765;
	--a64-gc-gold-dark: #a6845a;
	--a64-gc-white: #ffffff;
	--a64-gc-text-dark: #0a0a0a;
	--a64-gc-placeholder: #8a8a8a;
	--a64-gc-line: rgba(255, 255, 255, 0.85);
	--a64-gc-field-height: 50px;
}

/* --- BeTheme-productpagina: één volle kolom ------------------------------- */

.a64-giftcard-page .post-nav,
.a64-giftcard-page .product_image_wrapper,
.a64-giftcard-page .share-simple-wrapper,
.a64-giftcard-page .product_meta {
	display: none !important;
}

.a64-giftcard-page .product_wrapper .entry-summary {
	width: 100%;
	float: none;
	margin: 0;
}

.a64-giftcard-page .product_wrapper .entry-summary > .mcb-column-inner {
	margin: 0;
}

.a64-giftcard-page #Content {
	padding-top: 120px;
	padding-bottom: 80px;
}

.gift-cards_form .gift-card-content-editor.step-content textarea{margin-top:0;}

/* --- Twee kolommen -------------------------------------------------------- */

.a64-giftcard-page form.a64-giftcard {
	margin: 0;
}

.a64-giftcard__columns {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}

.a64-giftcard__col {
	flex: 1 1 0;
	min-width: 0;
}

.a64-giftcard__col--right {
	flex-basis: 0;
}

/* --- Links: titel, intro, bedragen ---------------------------------------- */

.a64-giftcard-page .product div.entry-summary h1.a64-giftcard__title {
	margin: 0 0 15px;
	padding-top: 10px;
	font-size: 50px;
	line-height: 1.1;
	font-weight: 300;
	color: var(--a64-gc-white);
}

.a64-giftcard__intro {
	max-width: 540px;
	margin-bottom: 70px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 300;
}

.a64-giftcard__intro p {
	margin: 0;
}

.a64-giftcard-page .gift-cards-list {
	display: flex;
	flex-wrap: wrap;
	gap: 17px;
	max-width: 415px;
	margin: 0;
	padding: 0;
}

.a64-giftcard-page .gift-cards-list .ywgc_select_amount_title {
	flex: 0 0 100%;
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 300;
	text-transform: none;
	color: var(--a64-gc-white);
}

.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons {
	flex: 0 0 calc((100% - 34px) / 3);
	max-width: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 50px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid var(--a64-gc-gold);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--a64-gc-white);
	font-family: inherit;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons:hover,
.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons:focus-visible {
	background: rgba(186, 151, 101, 0.2);
	color: var(--a64-gc-white);
}

.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons.selected_button,
.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons.selected_button:hover {
	/* !important: YITH zet de kleur van de gekozen knop inline met !important. */
	background-color: var(--a64-gc-gold) !important;
	border-color: var(--a64-gc-gold);
	color: var(--a64-gc-white) !important;
}

.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons .amount,
.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons bdi {
	color: inherit;
	font: inherit;
}

/* --- Links: overzicht ----------------------------------------------------- */

.a64-giftcard__summary {
	margin-top: 75px;
}

.a64-giftcard__summary::before {
	content: "";
	display: block;
	width: 64px;
	height: 1px;
	margin: 0 0 25px 0;
	background:#B5986C;
}

.a64-giftcard__summary-list {
	margin: 0;
}

.a64-giftcard__summary-row {
	display: flex;
	align-items: baseline;
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.3;
}

.a64-giftcard-page .a64-giftcard__summary-row dt,
.a64-giftcard-page .a64-giftcard__summary-row dd {
	margin: 0;
	padding: 0;
	float: none;
	color: var(--a64-gc-white);
}

.a64-giftcard-page .a64-giftcard__summary-row dt {
	flex: 0 0 290px;
	font-weight: 400;
}

.a64-giftcard-page .a64-giftcard__summary-row dd {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 700;
	overflow-wrap: anywhere;
}

/* --- Rechts: kader met formulier ------------------------------------------ */

.a64-giftcard__box {
	padding: 52px 52px 50px;
	border: 1px solid var(--a64-gc-line);
}

.a64-giftcard-page .a64-giftcard__lead {
	margin: 0 0 30px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--a64-gc-gold);
}

.a64-giftcard-page .a64-giftcard .gift-card-content-editor {
	margin: 0;
	padding: 0;
}

.a64-giftcard__group {
	margin: 0 0 47px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.a64-giftcard__group--from {
	margin-bottom: 22px;
}

.a64-giftcard-page .a64-giftcard__label {
	display: block;
	margin: 0 0 18px;
	padding: 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--a64-gc-white);
}

.a64-giftcard-page .a64-giftcard .ywgc-recipient-name,
.a64-giftcard-page .a64-giftcard .ywgc-recipient-email,
.a64-giftcard-page .a64-giftcard .ywgc-sender-name,
.a64-giftcard-page .a64-giftcard .ywgc-message {
	width: 100%;
	margin: 0 0 13px;
	padding: 0;
	float: none;
}

.a64-giftcard-page .a64-giftcard .ywgc-message {
	margin-bottom: 0;
}

.a64-giftcard-page .a64-giftcard input[type="text"],
.a64-giftcard-page .a64-giftcard input[type="email"],
.a64-giftcard-page .a64-giftcard textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	
	margin: 0;
	padding: 0 15px;
	border: 0;
	border-radius: 0;
	background: var(--a64-gc-white);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	color: var(--a64-gc-text-dark);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.a64-giftcard-page .a64-giftcard .ywgc-message textarea {
	border-radius: 0;

	padding-top: 15px;
	padding-bottom: 15px;
	resize: vertical;
}

.a64-giftcard-page .a64-giftcard input::placeholder,
.a64-giftcard-page .a64-giftcard textarea::placeholder {
	color: var(--a64-gc-placeholder);
	font-size: inherit;
	font-weight: 400;
	opacity: 1;
}

.a64-giftcard-page .a64-giftcard input:focus,
.a64-giftcard-page .a64-giftcard textarea:focus {
	outline: 2px solid var(--a64-gc-gold);
	outline-offset: -2px;
}

/* --- Rechts: aantal + knop ------------------------------------------------ */

/* Geen gap: de verborgen inputs in deze rij zouden ook ruimte krijgen. */
.a64-giftcard-page .a64-giftcard .gift_card_template_button {
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
}

.a64-giftcard-page .a64-giftcard .gift_card_template_button .quantity {
	flex: 0 0 133px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--a64-gc-field-height);
	margin: 0 20px 0 0;
	padding: 0 18px;
	border: 1px solid var(--a64-gc-gold);
	background: transparent;
}

.a64-giftcard-page .a64-giftcard .quantity .quantity-change {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--a64-gc-gold);
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
}

.a64-giftcard-page .a64-giftcard .gift_card_template_button .quantity input.qty {
	flex: 1 1 auto;
	width: 40px;
	height: 100%;
	margin: 0;
	padding: 0 !important; /* BeTheme zet hier padding met hogere specificiteit. */
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--a64-gc-gold);
	font-size: 22px;
	font-weight: 400;
	text-align: center;
	-moz-appearance: textfield;
}

.a64-giftcard-page .a64-giftcard .quantity input.qty::-webkit-outer-spin-button,
.a64-giftcard-page .a64-giftcard .quantity input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.a64-giftcard-page .a64-giftcard .single_add_to_cart_button {
	flex: 1 1 auto;
	height: var(--a64-gc-field-height);
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--a64-gc-gold);
	color: var(--a64-gc-white);
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	transition: background-color 0.2s ease;
}

.a64-giftcard-page .a64-giftcard .single_add_to_cart_button:hover,
.a64-giftcard-page .a64-giftcard .single_add_to_cart_button:focus-visible {
	background: var(--a64-gc-gold-dark);
	color: var(--a64-gc-white);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1239px) {
	.a64-giftcard-page .a64-giftcard__summary-row dt {
		flex-basis: 220px;
	}
}

@media (max-width: 959px) {
	.a64-giftcard-page #Content {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.a64-giftcard__columns {
		flex-direction: column;
		align-items: stretch;
		gap: 50px;
	}

	.a64-giftcard__col,
	.a64-giftcard__col--right {
		flex: 0 0 auto;
		width: 100%;
	}

	.a64-giftcard-page .product div.entry-summary h1.a64-giftcard__title {
		font-size: 40px;
		margin-bottom: 20px;
	}

	.a64-giftcard__intro {
		margin-bottom: 40px;
	}

	.a64-giftcard__summary {
		margin-top: 45px;
	}

	.a64-giftcard__summary::before {
		margin-bottom: 25px;
	}

	.a64-giftcard-page .a64-giftcard__summary-row dt {
		flex-basis: 190px;
	}
}

@media (max-width: 767px) {
	.a64-giftcard__box {
		padding: 30px 20px;
	}

	.a64-giftcard-page .gift-cards-list {
		max-width: none;
		gap: 10px;
	}

	.a64-giftcard-page .gift-cards-list button.ywgc-amount-buttons {
		flex-basis: calc((100% - 20px) / 3);
		font-size: 17px;
	}

	.a64-giftcard-page .a64-giftcard__summary-row,
	.a64-giftcard-page .a64-giftcard__label,
	.a64-giftcard-page .a64-giftcard__lead,
	.a64-giftcard__intro {
		font-size: 18px;
	}

	.a64-giftcard-page .a64-giftcard__summary-row dt {
		flex-basis: 200px;
	}

	.a64-giftcard-page .a64-giftcard input[type="text"],
	.a64-giftcard-page .a64-giftcard input[type="email"],
	.a64-giftcard-page .a64-giftcard textarea {
		font-size: 17px;
	}

	.a64-giftcard-page .a64-giftcard .gift_card_template_button .quantity {
		flex-basis: 110px;
		margin-right: 10px;
		padding: 0 12px;
	}

	.a64-giftcard-page .a64-giftcard .single_add_to_cart_button {
		font-size: 17px;
		padding: 0 12px;
	}
}
