/* Twist Gifting 0.26.0: the gift card page on the blend page layout (Tom's "Gift Card 06.11.26"). Loaded after
   twist-blend.css, which gives the grid, the byline, the title and the buttons. Square corners throughout. */

/* Tom's photo is 3:2 and shows whole. */
.twg-gc .twb-media__main.twg-gc__media {
	aspect-ratio: 3 / 2;
}

.twg-gc .twb-media__img.twg-gc__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.twg-gc .twb-taste.twg-gc__copy {
	max-width: 560px;
}

/* The plugin's own Amount drop-down is driven by the buttons above it. */
.twg-gc form.variations_form table.variations,
.twg-gc form.variations_form .single_variation_wrap .single_variation {
	display: none !important;
}

.twg-gc form.variations_form .reset_variations {
	display: none !important;
}

/* The plugin's fields (send to, recipient, message, delivery date) in the site's style. */
.twg-gc .agcfw-variable-product-fields {
	margin: 24px 0 0;
}

.twg-gc .agcfw-send-option {
	margin: 0 0 10px;
}

.twg-gc .agcfw-send-option > label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #111;
	cursor: pointer;
}

.twg-gc .agcfw-send-option > label input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #111;
}

.twg-gc .agcfw-send-to-friend-fields {
	padding: 0 0 0 28px;
}

.twg-gc .agcfw-form-field {
	margin: 0 0 14px;
}

.twg-gc .agcfw-form-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
}

.twg-gc .agcfw-form-field-input,
.twg-gc .agcfw-manual-amount-input {
	display: block;
	width: 100%;
	max-width: 420px;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #111;
	border-radius: 0 !important;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
	color: #111;
	box-shadow: none;
}

.twg-gc textarea.agcfw-form-field-input {
	min-height: 110px;
	resize: vertical;
}

.twg-gc .agcfw-form-field-input:focus,
.twg-gc .agcfw-manual-amount-input:focus {
	outline: 2px solid #111;
	outline-offset: 2px;
}

/* The typed amount, once the plugin setting is on: the same box as the other fields. */
.twg-gc .agcfw-manual-amount-field {
	margin: 18px 0 0;
}

.twg-gc .agcfw-manual-amount-field > label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111;
}

.twg-gc .agcfw-amount-input-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 420px;
}

.twg-gc .agcfw-amount-currency {
	font-size: 18px;
	font-weight: 700;
	color: #111;
}

.twg-gc .agcfw-amount-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
}

.twg-gc .agcfw-amount-error {
	display: block;
	margin: 6px 0 0;
	font-size: 14px;
	color: #b00020;
}

.twg-gc .agcfw-amount-error:empty {
	display: none;
}

/* Add to basket: the blend page's button, full width on phones. */
.twg-gc .add-to-cart-section {
	margin: 22px 0 0;
}

.twg-gc .single_add_to_cart_button {
	min-height: 50px;
	padding: 0 28px;
	border: 1px solid #111;
	border-radius: 0 !important;
	background: #111;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.twg-gc .single_add_to_cart_button:hover,
.twg-gc .single_add_to_cart_button:focus {
	background: #333;
	border-color: #333;
	color: #fff;
}

@media (max-width: 640px) {
	.twg-gc .single_add_to_cart_button {
		width: 100%;
	}
}
