/*
 * Order form design (Steps 1-6).
 *
 * Loaded after css/ordering.css (the CSS moved from the Customizer, kept
 * unchanged) and refines it in the site's own language: square edges, the
 * site blue and navy, yellow bars across the top of blocks, the site font.
 * Same steps, wording and colours as before - yellow still marks the way
 * forward.
 *
 * Remove this file's enqueue in functions.php to go back to the previous look.
 */

#iw-order {
	--iw-ink: #2c3e50;
	--iw-navy: #0b3a6b;
	--iw-brand: #15518f;
	--iw-brand-tint: rgba(21, 81, 143, 0.1);
	--iw-sun: #eeee22;
	--iw-good: #1e7b34;
	--iw-muted: #5f6b77;
	--iw-line: #dcdcdc;
	--iw-soft: #f7f7f7;
	--iw-paper: #fff;
	--iw-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	color: var(--iw-ink);
}

/* A light page behind the white blocks (the /order/ page only: the body class
   comes from the Ordering page template). Astra's white article box is set to
   the same colour so the page reads as one surface. */
.iw-page-ordering #ajContainer,
.iw-page-ordering.ast-separate-container .ast-article-single:not(.ast-related-post) {
	background-color: #f4f6f8;
}

/* ---------- Step headings ---------- */

#iw-order .order-section-title {
	margin: 0 0 26px;
	text-align: center;
}
#iw-order .order-section-title h2 {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--iw-brand);
}
#iw-order .order-section-subtitle h3 {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--iw-ink);
}

/* ---------- Blocks ---------- */

#iw-order .iw-card,
#iw-order .iw-account-options > div,
#iw-order .iw-account-options > form {
	margin: 0 0 20px;
	padding: 22px 24px;
	border: 1px solid var(--iw-line);
	border-radius: 3px;
	background: #fff;
	box-shadow: var(--iw-shadow);
}

/* ---------- Fields ---------- */

#iw-order form p {
	margin: 0;
}
#iw-order form p > label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--iw-ink);
}
#iw-order form p > label br {
	display: none;
}
#iw-order .iw-label-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
#iw-order .iw-label-text .iw-icon,
#iw-order legend .iw-icon,
#iw-order .customer-account h3 .iw-icon {
	color: var(--iw-brand);
}
#iw-order input[type="text"],
#iw-order input[type="email"],
#iw-order input[type="tel"],
#iw-order input[type="password"],
#iw-order select,
#iw-order textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #cfd4d9;
	border-radius: 2px;
	background-color: #fff;
	box-shadow: none;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--iw-ink);
}
#iw-order select {
	height: auto;
	min-height: 46px;
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315518f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
}
#iw-order input:focus,
#iw-order select:focus,
#iw-order textarea:focus {
	border-color: var(--iw-brand);
	outline: none;
	box-shadow: 0 0 0 2px rgba(21, 81, 143, 0.25);
}
#iw-order input.error,
#iw-order textarea.error {
	border-color: #c00;
}
#iw-order label.error {
	margin-top: 0;
	font-size: 14px;
	font-weight: 600;
	color: #c00;
}
#iw-order input::placeholder,
#iw-order textarea::placeholder {
	color: #8a949e;
}

/* Step 1: the three choices in one block with the site's yellow top bar
   (as the "Request a Quote" block on the home page). */
#iw-order .iw-quote-fields {
	display: grid;
	gap: 20px;
	max-width: 680px;
	margin: 0 auto 8px;
	border-top: 4px solid var(--iw-sun);
}
/* Post code areas as pills: every area on show, one tap to choose. */
#iw-order fieldset.iw-postcode-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
#iw-order .iw-postcode-field legend {
	float: left;
	width: 100%;
	margin: 0 0 4px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--iw-ink);
}
#iw-order .iw-pills-help {
	clear: both;
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--iw-muted);
}
#iw-order .iw-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
#iw-order .iw-pill {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}
#iw-order .iw-pill input {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
#iw-order .iw-pill span {
	display: inline-block;
	min-width: 64px;
	padding: 8px 14px;
	border: 1px solid #cfd4d9;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	color: var(--iw-brand);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
#iw-order .iw-pill:hover span {
	border-color: var(--iw-brand);
	background: var(--iw-brand-tint);
}
#iw-order .iw-pill input:checked + span {
	border-color: var(--iw-brand);
	background: var(--iw-brand);
	color: #fff;
}
#iw-order .iw-pill input:focus-visible + span {
	outline: 3px solid var(--iw-brand);
	outline-offset: 2px;
}
#iw-order .iw-postcode-field label.error {
	display: block;
	margin-top: 8px;
}
#iw-order .iw-quote-fields select {
	text-overflow: ellipsis;
}
#iw-order .iw-fixed-value {
	min-height: 46px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--iw-brand);
}

/* Step 5: fields grouped in blocks, short ones in pairs. */
#iw-order .customer-delivery {
	display: block;
}
#iw-order fieldset.iw-group {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px 20px;
	min-width: 0;
}
#iw-order fieldset.iw-group > legend {
	display: flex;
	align-items: center;
	gap: 8px;
	float: left;
	width: 100%;
	margin: 0 0 2px;
	padding: 0 0 12px;
	border-bottom: 1px solid #eee;
	font-size: 17px;
	font-weight: 600;
	color: var(--iw-ink);
}
@media (min-width: 768px) {
	#iw-order fieldset.iw-group {
		grid-template-columns: 1fr 1fr;
	}
	#iw-order fieldset.iw-group > * {
		grid-column: 1 / -1;
	}
	#iw-order fieldset.iw-group > .iw-half {
		grid-column: auto;
	}
}
#iw-order .iw-terms {
	gap: 14px;
}
#iw-order .iw-term {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
#iw-order .iw-term > label:not(.error) {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	font-weight: 400;
	font-size: 15px;
}
#iw-order input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px !important;
	height: 20px;
	margin: 0;
	accent-color: var(--iw-brand);
}
#iw-order .iw-term > a,
#iw-order .customer-account small a {
	font-size: 14px;
	text-decoration: underline;
}

/* ---------- Date & price cards (Step 2) ---------- */

#iw-order .cart-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 16px;
	width: 100%;
	margin: 0 0 8px;
}
#iw-order .cart-row-break {
	grid-column: 1 / -1;
	margin: 0;
	padding: 6px 0 0;
	text-align: left;
}
#iw-order .cart-row-break span {
	font-size: 15px;
	font-weight: 600;
	color: var(--iw-brand);
}
#iw-order .cart-option {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	border: 1px solid var(--iw-line);
	border-radius: 5px;
	background: #fff;
	box-shadow: var(--iw-shadow);
	text-align: center;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* The hover lift from the original design. */
#iw-order .cart-option:hover {
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* Cards in a row share the tallest card's height (the best-value card has
   its yellow bar). The date and price sit centred in the space above the
   button instead of leaving a gap at the bottom. */
#iw-order .cart-option-heading {
	margin-top: auto;
	padding: 14px 12px 0;
	border: 0;
	font-size: 12px;
}
#iw-order .cart-option-date {
	padding: 0;
}
#iw-order .cart-option-date > span:first-child {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--iw-muted);
}
#iw-order .cart-option .date {
	margin-top: 8px;
	padding: 12px 6px;
	border-radius: 2px;
	background: var(--iw-brand-tint);
	font-size: 19px !important;
	font-weight: 600;
	line-height: 1.25;
	color: var(--iw-brand);
}
#iw-order .cart-option .date .date-day {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--iw-brand);
}
#iw-order .cart-option-inner {
	display: contents;
}
#iw-order .cart-option-inner > .checkout-price {
	margin: 0 0 auto;
	padding: 14px 10px;
	font-size: 1em;
}
#iw-order .cart-option-inner > .checkout-price > .checkout-price {
	margin: 0;
	padding: 0;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--iw-ink);
	font-variant-numeric: tabular-nums;
}
#iw-order .checkout-info {
	margin: 2px 0 0;
	font-size: 12px !important;
	color: var(--iw-muted);
}
#iw-order .checkout-button-wrapper {
	margin-top: auto;
}
/* Price cards: the space is shared above the date and below the price instead. */
#iw-order .cart-option .checkout-button-wrapper {
	margin-top: 0;
}
#iw-order .btnSelectFuel,
#iw-order .btnSelectAdditive,
#iw-order #btnNoAdditive {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 11px 10px;
	border-radius: 0;
	background: var(--iw-brand);
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}
#iw-order .btnSelectFuel:hover,
#iw-order .btnSelectAdditive:hover,
#iw-order #btnNoAdditive:hover {
	background: var(--iw-navy);
	color: #fff;
}
/* The chosen card shows "Selected" instead of its button (as before). */
#iw-order .cart-option.selected .btnSelectFuel,
#iw-order .additive-option.selected .btnSelectAdditive {
	display: none;
}

/* Best value: the yellow bar across the top, as before. */
#iw-order .cart-option.best-price::before {
	display: block;
	width: auto;
	padding: 5px 4px;
	border: 0;
	border-radius: 0;
	background: var(--iw-sun);
	font-size: 13px;
	font-weight: 700;
	color: var(--iw-navy);
}
#iw-order .cart-option.best-price .cart-option-heading {
	padding-top: 10px;
}
#iw-order .cart-option.best-price .date {
	background: rgba(238, 238, 34, 0.35);
}
/* The yellow line along the top of the best-value button, as before. */
#iw-order .cart-option.best-price .btnSelectFuel {
	border-top: 4px solid var(--iw-sun);
	font-weight: 600;
}

/* Selected: green outline and "Selected" bar, as before. */
/* Selected: shown by the green "Selected" bar, as before. */
#iw-order .cart-option.selected {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#iw-order .cart-option.selected::after {
	display: block;
	min-height: 0;
	padding: 11px 10px;
	border-radius: 0;
	background: var(--iw-good);
	font-size: 15px;
	font-weight: 600;
}

/* Fully booked: same size as the other cards, clearly not selectable. */
#iw-order .cart-option.fully-booked {
	background: var(--iw-soft);
	box-shadow: none;
}
#iw-order .cart-option.fully-booked:hover {
	border-color: var(--iw-line);
	box-shadow: none;
}
#iw-order .cart-option.fully-booked .date {
	background: #ececec;
	color: #4f5862;
}
#iw-order .cart-option.fully-booked .date .date-day {
	color: #4f5862;
}
#iw-order .checkout-no-date {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: auto;
	padding: 18px 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--iw-muted);
}

/* Phones: two smaller cards per row. */
@media (max-width: 600px) {
	#iw-order .cart-info {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	#iw-order .cart-option-heading {
		padding: 12px 8px 0;
	}
	#iw-order .cart-option .date {
		padding: 9px 4px;
		font-size: 15px !important;
	}
	#iw-order .cart-option .date .date-day {
		font-size: 11px;
	}
	#iw-order .cart-option-inner > .checkout-price {
		padding: 10px 6px;
	}
	#iw-order .cart-option-inner > .checkout-price > .checkout-price {
		font-size: 21px;
	}
	#iw-order .btnSelectFuel,
	#iw-order .cart-option.selected::after {
		padding: 10px 6px;
		font-size: 14px;
	}
	/* An odd date out at the end fills the row (marked by the order script). */
	#iw-order .cart-option.iw-lone {
		grid-column: 1 / -1;
	}
}

/* ---------- "Your Quote": a printed ticket ---------- */

#iw-order .order-details {
	position: relative;
	display: block;
	max-width: none;
	margin: 34px 0 22px !important;
	border: 0;
	border-radius: 3px 3px 0 0;
	background: transparent; /* The paper is the list below, so the notches can be real holes. */
	box-shadow: none;
	/* An outline that follows the torn edge and the notches. */
	filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.28)) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.06));
	text-align: left;
}
/* Torn-off bottom edge. */
#iw-order .order-details::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -9px;
	left: 0;
	height: 10px;
	background: conic-gradient(from -45deg at 50% 100%, var(--iw-paper) 90deg, transparent 0) 0 0 / 16px 10px repeat-x;
}
#iw-order .order-details-title h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	padding: 12px 20px !important;
	border: 0;
	border-radius: 3px 3px 0 0;
	background: var(--iw-navy);
	font-size: 17px !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em;
	color: #fff;
}
#iw-order .order-details ul {
	--iw-total-height: 80px;
	display: block;
	margin: 0;
	padding: 6px 24px 0;
	background: var(--iw-paper);
	/* Punch a notch out of each side, level with the perforation above the total. */
	-webkit-mask:
		radial-gradient(circle at left 0 bottom var(--iw-total-height), transparent 11px, #000 11.5px) left / 51% 100% no-repeat,
		radial-gradient(circle at right 0 bottom var(--iw-total-height), transparent 11px, #000 11.5px) right / 51% 100% no-repeat;
	mask:
		radial-gradient(circle at left 0 bottom var(--iw-total-height), transparent 11px, #000 11.5px) left / 51% 100% no-repeat,
		radial-gradient(circle at right 0 bottom var(--iw-total-height), transparent 11px, #000 11.5px) right / 51% 100% no-repeat;
}
#iw-order .order-details ul li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	width: auto !important;
	float: none;
	padding: 11px 0;
	border: 0;
}
#iw-order .order-details ul li + li {
	border-top: 1px dashed #d6d6d6;
}
#iw-order .order-details h3 {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--iw-muted);
}
#iw-order .order-details h3 .iw-icon {
	width: 16px;
	height: 16px;
	color: var(--iw-brand);
}
#iw-order .order-details p {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	color: var(--iw-ink);
}
/* The total: below a perforated line with punched notches, as on a ticket. */
#iw-order .order-details li.order-total {
	position: relative;
	box-sizing: border-box;
	height: var(--iw-total-height); /* Fixed, so the notches line up with its top edge. */
	align-items: center;
	margin: 14px -24px 0;
	padding: 0 24px;
	border-top: 2px dashed #c4c4c4 !important;
	border-bottom: 0;
}
#iw-order li.order-total h3 {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--iw-ink);
}
#iw-order li.order-total h3::after {
	display: block;
	margin: 0;
	font-size: 12px !important;
	font-weight: 400;
	color: var(--iw-muted);
}
#iw-order li.order-total p {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: var(--iw-brand);
	font-variant-numeric: tabular-nums;
}
/* Wide screens: the rows in two columns, the total across the bottom. */
@media (min-width: 900px) {
	#iw-order .order-details ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 48px;
	}
	#iw-order .order-details ul li:nth-child(-n+2) {
		border-top: 0;
	}
	#iw-order .order-details li.order-total {
		grid-column: 1 / -1;
	}
}
@media (max-width: 600px) {
	#iw-order .order-details ul {
		padding: 4px 16px 0;
	}
	#iw-order .order-details li.order-total {
		margin: 12px -16px 0;
		padding: 0 16px;
	}
}

/* ---------- Additives (Step 3) ---------- */

#iw-order .additives-pitch {
	max-width: 760px;
	margin: 0 auto 26px;
	padding: 0;
	color: var(--iw-muted);
}
#iw-order .additives-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
#iw-order .additive-option,
#iw-order .additivesBtn {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	border: 1px solid var(--iw-line);
	border-radius: 5px;
	background: #fff;
	box-shadow: var(--iw-shadow);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#iw-order .additive-option:hover,
#iw-order .additivesBtn:hover {
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
/* As on the live site: name, photo (filling the card), price, description, button. */
#iw-order .additive-option-heading {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	font-size: 1em;
}
#iw-order span.additive-option-name {
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	background: var(--iw-soft);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--iw-ink);
}
/* As on the old site: the photo fills the card's width at its natural shape,
   anchored to the top of a 340px area, so only the empty floor at the bottom
   of a tall photo is hidden (never the top or the sides, no bars). */
#iw-order .additive-option-image,
#iw-order .additive-option-image2 {
	display: block;
	height: 340px !important;
	padding: 0;
	background: #dcdcdc;
	overflow: hidden;
}
#iw-order .additive-option-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}
#iw-order .additive-option-image2 img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}
/* The "no additive" illustration: its area takes the drawing's background
   colour, so it reads as one picture at any card width. */
#iw-order .additive-option-image2 {
	padding: 0;
	background: #eef3f9;
}
#iw-order .additive-option .checkout-price {
	padding: 10px;
	border-bottom: 1px solid #eee;
	background: var(--iw-soft);
}
#iw-order .additive-option .checkout-price > .checkout-price {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 22px;
	font-weight: 600;
	color: var(--iw-ink);
}
#iw-order .additive-option .checkout-info {
	margin: 0;
	padding: 0;
}
#iw-order .additive-option-inner {
	flex: 1 1 auto;
	padding: 14px 18px;
	font-size: 15px;
	color: var(--iw-ink);
}
/* "I Don't Want An Additive": its short message sits centred in the space
   between the picture and the button. */
#iw-order .additivesBtn .additive-option-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
#iw-order .additive-option-inner ul {
	margin: 6px 0 0 18px;
	text-align: left;
}
#iw-order .additive-option-heading > .checkout-button-wrapper {
	margin-top: auto;
}
#iw-order .additive-option.selected {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#iw-order .additive-option.selected::after {
	min-height: 0;
	padding: 11px 10px;
	border-radius: 0;
	background: var(--iw-good);
	font-size: 15px;
	font-weight: 600;
}
#iw-order #btnNoAdditive.selected {
	background: var(--iw-good);
}
@media (max-width: 600px) {
	#iw-order .additive-option-image,
	#iw-order .additive-option-image2 {
		height: 340px !important;
	}
}

/* ---------- Step 4: three equal choices ---------- */

#iw-order .iw-account-intro {
	margin: -12px 0 22px;
	text-align: center;
	color: var(--iw-muted);
}
#iw-order .iw-account-options {
	display: grid;
	gap: 18px;
}
@media (min-width: 900px) {
	#iw-order .iw-account-options {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* (Two ids, as the plugin's own stylesheet, loaded later, floats the forms.) */
#iw-order .iw-account-options > #frmAccount,
#iw-order .iw-account-options > #frmLogIn,
#iw-order .iw-account-options > #ResetPassword,
#iw-order .iw-account-options > .iw-guest {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	margin: 0;
	padding: 22px 24px;
	box-sizing: border-box;
}
/* The yellow bar is drawn inside, so the guest card's heading and button
   line up exactly with the other two. */
#iw-order .iw-account-options > .iw-guest {
	box-shadow: inset 0 4px 0 var(--iw-sun), var(--iw-shadow);
}
#iw-order .iw-account-options > [style*="display: none"] {
	display: none !important;
}
#iw-order .iw-account-options p {
	margin: 0;
}
#iw-order .customer-account {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 14px;
}
#iw-order .customer-account > div:last-child {
	margin-top: auto;
}
#iw-order .customer-account h3,
#iw-order #ResetPassword h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}
#iw-order .customer-account > p,
#iw-order .customer-account small {
	color: var(--iw-muted);
}

/* ---------- Step 6 ---------- */

#iw-order #step-6 .order-details {
	margin-bottom: 40px !important;
}

#iw-order .iw-secure-note {
	align-items: center;
	justify-content: flex-start;
	max-width: none;
	margin: 0;
	padding: 14px 18px;
	border: 1px solid var(--iw-line);
	border-left: 4px solid var(--iw-brand);
	border-radius: 0;
	background: #fff;
	font-size: 15px;
}
#iw-order .iw-secure-note .iw-icon {
	margin: 0;
	color: var(--iw-brand);
}

/* ---------- Step count and navigation ---------- */

#iw-order .orderStep {
	margin-top: 28px;
	padding: 0;
	font-size: 14px;
	color: var(--iw-muted);
}
#iw-order .orderNav {
	min-height: 0;
	margin-top: 10px !important;
	padding-top: 18px;
	border-top: 1px solid #e6e6e6;
}
#iw-order .orderNav p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}
#iw-order #step-1 .orderNav p {
	justify-content: center;
}

/* Buttons: square, as elsewhere on the site. */
#iw-order .iw-guest .iw-guest-button,
#iw-order .orderNav .btn,
#iw-order #btnToStep2,
#iw-order #btnPlaceOrder,
#iw-order #btnCreateAccount,
#iw-order #btnLogIn,
#iw-order #btnResetPassword {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none !important;
	min-width: 0 !important;
	max-width: none;
	margin: 0 !important;
	padding: 11px 28px;
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
/* The way forward: site blue with the yellow bar along the top, as before. */
#iw-order #btnToStep2,
#iw-order #btnToStep3,
#iw-order #btnToStep4,
#iw-order #btnToStep5,
#iw-order #btnToStep6,
#iw-order #btnCreateAccount,
#iw-order #btnLogIn,
#iw-order #btnResetPassword,
#iw-order .iw-guest .iw-guest-button {
	border-top: 4px solid var(--iw-sun);
	background: var(--iw-brand);
	color: #fff;
}
#iw-order #btnToStep2:hover,
#iw-order #btnToStep3:hover,
#iw-order #btnToStep4:hover,
#iw-order #btnToStep5:hover,
#iw-order #btnToStep6:hover,
#iw-order #btnCreateAccount:hover,
#iw-order #btnLogIn:hover,
#iw-order #btnResetPassword:hover,
#iw-order .iw-guest .iw-guest-button:hover {
	background: var(--iw-navy);
	color: #fff;
}
#iw-order .customer-account .btn,
#iw-order .iw-guest .iw-guest-button {
	width: 100%;
}
/* Back: a quieter outline, so the way forward stands out. */
#iw-order #btnBackToStep1,
#iw-order #btnBackToStep2,
#iw-order #btnBackToStep3,
#iw-order #btnBackToStep4,
#iw-order #btnBackToStep5 {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--iw-brand);
	color: var(--iw-brand);
}
#iw-order #btnBackToStep1:hover,
#iw-order #btnBackToStep2:hover,
#iw-order #btnBackToStep3:hover,
#iw-order #btnBackToStep4:hover,
#iw-order #btnBackToStep5:hover {
	background: var(--iw-brand-tint);
	color: var(--iw-brand);
}
#iw-order #btnPlaceOrder {
	background: var(--iw-good);
	color: #fff;
}
#iw-order #btnPlaceOrder:hover {
	background: #155c26;
}
@media (max-width: 600px) {
	#iw-order .orderNav p {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	#iw-order .orderNav .btn,
	#iw-order #btnToStep2,
	#iw-order #btnPlaceOrder {
		width: 100%;
	}
	#iw-order .iw-card,
	#iw-order .iw-account-options > div,
	#iw-order .iw-account-options > form {
		padding: 18px 16px;
	}
	#iw-order .order-section-subtitle h3 {
		font-size: 22px;
	}
	/* "STEP 2" repeats the progress line above on phones; kept for screen
	   readers and as the focus target when a step opens. */
	#iw-order .order-section-title h2 {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}
