/* Amend 6, basket and checkout redesign (the client's message of 1 October 2026). */

/* ================================================================ basket */

/* the delivery choice, left column under the basket lines */
.gft-cc-ship { margin: 22px 0 6px; padding: 16px 18px; border: 1px solid #E8E0CE; border-radius: 4px; background: #FFFFFF; }
.gft-cc-ship-title { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #23201A; }
.gft-cc-ship-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.gft-cc-ship-list li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px !important; padding: 0 !important; list-style: none; }
.gft-cc-ship-list li:last-child { margin-bottom: 0 !important; }
.gft-cc-ship-list input[type="radio"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0 !important; cursor: pointer; accent-color: #8A6420; }
.gft-cc-ship-list label { margin: 0 !important; font-size: 14px; line-height: 1.5; color: #23201A; cursor: pointer; text-align: left; }

/* the Delivery charge row: struck through with collection */
.gft-cc-shiprow td { text-align: right; }
.gft-cc-shiprow .gft-cc-ship-was, .gft-cc-shiprow .gft-cc-ship-was .amount { color: #8C8577 !important; text-decoration: line-through; font-weight: 400; }
.gft-cc-shiprow .gft-cc-ship-note { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; font-weight: 400; color: #5A554B; }

/* Options to Pay: plain information, nothing to click */
.cart_totals tr.gft-cc-opts-row > td { padding: 0 !important; border-top: 1px solid #D9CFB8 !important; text-align: left !important; }
.cart_totals tr.gft-cc-opts-row > td::before { display: none !important; content: none !important; }
.gft-cc-opts { padding: 14px 0 12px; text-align: left; }
.gft-cc-opts-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #23201A; }
.gft-cc-opts-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.gft-cc-opt { display: flex; justify-content: space-between; align-items: baseline; gap: 2px 12px; flex-wrap: wrap; margin: 0 !important; padding: 5px 0 !important; list-style: none; border-bottom: 1px dotted #EAE2D0; }
.gft-cc-opt:last-child { border-bottom: 0; }
.gft-cc-opt-name { font-size: 13.5px; font-weight: 600; color: #23201A; }
.gft-cc-opt-fig { font-size: 12.5px; line-height: 1.45; color: #5A554B; text-align: right; }
.gft-cc-opt-fig .amount { color: #8A6420; font-weight: 600; }
.gft-cc-opt.is-off .gft-cc-opt-name, .gft-cc-opt.is-off .gft-cc-opt-fig { color: #9A948A; }
.gft-cc-opt.is-off .gft-cc-opt-fig .amount { color: #9A948A; }
.gft-cc-zero { display: inline-block; margin-left: 2px; font-size: 1.6em; line-height: 1; font-weight: 800; color: #8A6420; vertical-align: -2px; }
.gft-cc-opts-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: #9A4A33; }

/* the one button */
.gft-cc-pay { margin-top: 4px; }
.gft-cc-pay .gft-cc-proceed { margin-bottom: 0 !important; justify-content: center; letter-spacing: .14em; }

/* ============================================================== checkout */

.gft-cc-billnote { margin: -6px 0 16px; font-size: 13.5px; line-height: 1.5; color: #5A554B; }
.woocommerce-checkout #order_review_heading { display: none; }

/* CHOOSE PAYMENT METHOD */
.gft-cc-paysel h3 { letter-spacing: .06em; }
.gft-cc-paysel .gft-paysel-name .gft-cc-logo { text-transform: none; letter-spacing: 0; }
.gft-cc-paysel .gft-paysel-opt.is-off .gft-paysel-why { color: #7A6A55; }

/* Klarna and Clearpay marks, drawn in type (no image host) */
.gft-cc-logo { display: inline-block; padding: 3px 8px; border-radius: 5px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: #0B051D; vertical-align: middle; white-space: nowrap; }
.gft-cc-logo-klarna { background: #FFB3C7; }
.gft-cc-logo-clearpay { background: #B2FCE4; }
.gft-cc-logo-card { background: #F1EEE7; font-weight: 700; color: #23201A; }
.gft-cc-stripecap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid #E8E0CE; border-radius: 4px; background: #FBF8F1; font-size: 12.5px; color: #5A554B; }
.gft-cc-stripecap-text { margin-right: 4px; }

/* coupon, gift card, Gold Rewards: under the Stripe box, one after the other */
.woocommerce-checkout #payment .gft-cc-coupon,
.woocommerce-checkout #payment .gft-gc-apply,
.woocommerce-checkout #payment .gft-cc-rewards { margin: 0 0 14px; padding: 14px 16px; border: 1px solid #E8E0CE; border-radius: 4px; background: #FFFFFF; text-align: left; }
.woocommerce-checkout #payment .gft-cc-coupon label,
.woocommerce-checkout #payment .gft-gc-apply > label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #23201A; }
.woocommerce-checkout #payment .gft-gc-row { display: flex; flex-wrap: nowrap; gap: 8px; }
.woocommerce-checkout #payment .gft-gc-row input[type="text"] { flex: 1 1 auto; min-width: 0; margin: 0; }
.woocommerce-checkout #payment .gft-gc-row .gft-btn { flex: 0 0 auto; margin: 0; }
.gft-cc-coupon-msg { margin-top: 8px; font-size: 13px; }
.gft-cc-coupon-msg .woocommerce-error, .gft-cc-coupon-msg .woocommerce-message, .gft-cc-coupon-msg .woocommerce-info { margin: 0 !important; padding: 8px 12px !important; font-size: 13px; }
.woocommerce-checkout #payment .gft-cc-rewards .gft-a6-bal { margin: 0; padding: 0; border: 0; background: transparent; }

/* the confirm boxes, then the Security Notice, then TOTALS, then Place order */
.woocommerce-checkout #payment .gft-cc-secnotice { margin: 16px 0 18px; text-align: left; }
.gft-cc-totals { margin: 0 0 18px; text-align: left; }
.gft-cc-totals-title { margin: 0 0 10px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.gft-cc-totals .wd-table-wrapper { margin: 0; }
.gft-cc-shiprow.is-collect .gft-cc-ship-fig .amount { color: inherit; }

@media (max-width: 600px) {
	.gft-cc-ship { padding: 14px 12px; }
	.gft-cc-opt-name { font-size: 13px; }
	.gft-cc-opt-fig { font-size: 12px; }
	.woocommerce-checkout #payment .gft-cc-coupon,
	.woocommerce-checkout #payment .gft-gc-apply,
	.woocommerce-checkout #payment .gft-cc-rewards { padding: 12px 12px; }
	.woocommerce-checkout #payment .gft-gc-row .gft-btn { padding-left: 14px; padding-right: 14px; }
}

/* ================= amend 7 (3 October 2026) ================= */

/* basket: the delivery choice under the Delivery charge row */
.cart_totals tr.gft-cc-shipchoice-row > td { padding: 0 0 12px !important; border-top: 0 !important; text-align: left !important; }
.cart_totals tr.gft-cc-shipchoice-row > td::before { display: none !important; content: none !important; }
.cart_totals .gft-cc-ship { margin: 0; padding: 10px 12px; }
.cart_totals .gft-cc-ship-title { display: none; }
.cart_totals .gft-cc-ship-list label { font-size: 13px; }

/* basket: Options to Pay, a soft background, every figure in one right column */
.gft-cc-opts { margin: 10px 0 2px; padding: 12px 14px 10px; background: #FAF6EE; border: 1px solid #EFE6D3; border-radius: 4px; }
.gft-cc-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2px 12px; flex-wrap: nowrap; }
.gft-cc-opt-main { display: block; min-width: 0; }
.gft-cc-opt-name { display: block; }
.gft-cc-opt-note { display: block; margin-top: 1px; font-size: 11.5px; line-height: 1.4; color: #6E685D; }
.gft-cc-opt-note .amount { color: #8A6420; font-weight: 600; }
.gft-cc-opt-fig { display: block; min-width: 86px; text-align: right; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.gft-cc-opt-fig .amount { color: #8A6420; font-weight: 700; }
.gft-cc-opt.is-off .gft-cc-opt-fig .amount { color: #9A948A; }
.gft-cc-opt-marks { display: flex; gap: 8px; align-items: center; }
.gft-cc-opt-bnpl { border-bottom: 0; }

/* checkout: Klarna and ClearPay inside the card option */
.gft-cc-bnpl { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #E8E0CE; }
.gft-cc-bnpl-line { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13px; color: #23201A; }
.gft-cc-bnpl-line .gft-cc-logo { min-width: 74px; text-align: center; }
.gft-cc-bnpl-note { display: block; font-size: 12.5px; line-height: 1.5; color: #5A554B; }
.gft-cc-bnpl-no { font-size: 12.5px; line-height: 1.5; color: #9A4A33; }

/* checkout: Gold Bank wording */
.gft-cc-gb-head { display: block; margin-bottom: 3px; color: #23201A; }
.gft-cc-gb-line { display: block; margin-bottom: 3px; }
.gft-cc-gb-signin { display: block; font-size: 13.5px; line-height: 1.5; color: #23201A; }
.gft-cc-gb-signin a { color: #A8802D; text-decoration: underline; }
.gft-a6-paysel .gft-paysel-opt.is-off .gft-paysel-amt .amount { color: #9A948A; }

/* checkout: coupon, gift card and rewards now sit inside CHOOSE PAYMENT METHOD */
.gft-cc-paysel .gft-cc-coupon,
.gft-cc-paysel .gft-gc-apply,
.gft-cc-paysel .gft-cc-rewards { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #E8E0CE; border-radius: 4px; background: #FFFFFF; text-align: left; }
.gft-cc-paysel .gft-cc-coupon label,
.gft-cc-paysel .gft-gc-apply > label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #23201A; }
.gft-cc-paysel .gft-gc-row { display: flex; flex-wrap: nowrap; gap: 8px; }
.gft-cc-paysel .gft-gc-row input[type="text"] { flex: 1 1 auto; min-width: 0; margin: 0; }
.gft-cc-paysel .gft-gc-row .gft-btn { flex: 0 0 auto; margin: 0; }
.gft-cc-paysel .gft-cc-rewards .gft-a6-bal { margin: 0; padding: 0; border: 0; background: transparent; }

/* checkout bottom: TOTALS, Security Notice, then the confirm boxes */
.woocommerce-checkout #payment .gft-cc-totals { margin: 4px 0 16px; }
.woocommerce-checkout #payment .gft-cc-secnotice { margin: 0 0 16px; }

@media (max-width: 600px) {
	.gft-cc-opts { padding: 10px 10px 8px; }
	.gft-cc-opt-fig { min-width: 74px; font-size: 13px; }
	.gft-cc-paysel .gft-cc-coupon, .gft-cc-paysel .gft-gc-apply, .gft-cc-paysel .gft-cc-rewards { padding: 12px; }
}

/* 3 October 2026: Klarna and ClearPay instalment lines (logo, then the words) */
.gft-cc-bnpl-line { align-items: flex-start; line-height: 1.45; }
.gft-cc-bnpl-line .gft-cc-logo { flex: 0 0 auto; margin-top: 1px; }
.gft-cc-bnpl-line .amount { color: #8A6420; font-weight: 700; }
.gft-cc-bnpl-line b { font-weight: 700; color: #23201A; }

/* phone: the delivery charge figure stays on the right, in line with the other
   amounts (his amend 7 note: all figures aligned on the right) */
@media (max-width: 768.98px) {
	.cart_totals tr.gft-cc-shiprow > td {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;
	}
	.cart_totals tr.gft-cc-shiprow > td .gft-cc-ship-fig {
		margin-left: auto;
		text-align: right;
	}
}
@media (max-width: 768.98px) {
	.cart_totals tr.gft-cc-shiprow > td::before {
		white-space: nowrap;
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
}

/* 5 October 2026: the Lay Buy terms link is the colour of the other links in the list */
.gft-paysel .gft-paysel-rule a { color: #A8802D; text-decoration: underline; }
