/* Custom Cart and Checkout Styles */

/* PURE/FLEXI Labels */
.cart-item-label {

	font-weight: bold;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none !important;
	color: unset;
}

.cart-item-pure {
	color: #3D4F96; /* Blue for PURE (rental) */
}

.cart-item-flexi {
	color: #C12852; /* Red for FLEXI (own) */
}

.hentry .entry-content a.cart-item-label {
	text-decoration: none !important;
}


/* Variation display */
.cart-item-variations {
	font-family: poppins, sans-serif;
	font-size: 14px;
	color: #000;
	margin-top: 5px;
	line-height: 1.4;
}

/* Addon items display */
.cart-item-addons {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}

.cart-addon-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-size: 14px;
}

.cart-addon-item .addon-icon {
	font-size: 18px;
	width: 30px;
	text-align: center;
}

.cart-addon-item .addon-name {
	flex: 1;
	font-weight: 500;
	color: #a73d45;
}

.cart-addon-item .addon-price {
	color: #000;
	font-size: 13px;
	margin-right: 10px;
}

.cart-addon-item .remove-addon {
	color: #dc3545;
	text-decoration: none;
	font-size: 13px;
	transition: opacity 0.2s;
}

.cart-addon-item .remove-addon:hover {
	opacity: 0.7;
	text-decoration: underline;
}

/* Price suffix styling */
.price-suffix {
	font-size: 13px;
	color: #000;
	font-weight: normal;
}

/* Safeguard Protection styling in fees */
.cart-fee {
	border-top: 2px solid #e5e7eb;
	padding-top: 15px;
	margin-top: 15px;
}

.fee-name {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fee-name::before {
	content: "🛡️";
	font-size: 20px;
}

/* Hide default WooCommerce item data display */
.woocommerce-cart-form__cart-item .variation,
.woocommerce-cart-form__cart-item .wc-item-meta,
.woocommerce-checkout-review-order-table .variation,
.woocommerce-checkout-review-order-table .wc-item-meta {
	display: none !important;
}


/* People Also Bought Section */
.people-also-bought-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px 40px;
}

.people-also-bought-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
}

.people-also-bought-title {
	font-size: 24px;
	font-weight: 600;
	color: #000;
	margin: 0;
}

/* Products Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
	}
}

@media (max-width: 768px) {
	.products-grid {
		grid-template-columns: 1fr; /* 1 column for mobile */
		gap: 16px;
	}
}

.product-recommendation-card {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%; /* Make all cards same height */
}

.product-recommendation-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-image-container {
	width: 100%;
	height: 200px;
	background: #f9fafb;
	border-radius: 8px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0; /* Prevent shrinking */
}

.product-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.no-image-placeholder {
	color: #000;
	font-size: 14px;
}

.product-info-section {
	text-align: left;
	display: flex;
	flex-direction: column;
	height: 100%;
	flex: 1; /* Take remaining space */
}

.product-title {
	font-size: 18px;
	font-weight: 600;
	color: #000;
	margin: 0 0 8px 0;
	line-height: 1.3;
	flex-shrink: 0; /* Prevent shrinking */
}

.product-description-container {
	flex: 1; /* Take available space */
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
}

.product-description {
	font-size: 14px;
	color: #000;
	margin: 0;
	line-height: 1.4;
	min-height: 3.5em; /* Reserve space for ~2.5 lines */
}

.product-footer {
	margin-top: auto; /* Push to bottom */
	flex-shrink: 0; /* Prevent shrinking */
}

.product-price {
	font-size: 16px;
	font-weight: 600;
	color: #000;
	margin-bottom: 16px;
}

.see-item-link {
	display: inline-block;
	background: #C12852;
	color: white;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.see-item-link:hover {
	background: #a21e42;
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.people-also-bought-wrapper {
		padding: 32px 16px;
	}

	.people-also-bought-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		margin-bottom: 24px;
	}

	.people-also-bought-title {
		font-size: 20px;
	}

	.product-recommendation-card {
		padding: 16px;
	}

	.product-image-container {
		height: 180px;
	}
}



/* Responsive adjustments */
@media (max-width: 768px) {
	.cart-addon-item {
		flex-wrap: wrap;
	}

	.cart-addon-item .addon-price,
	.cart-addon-item .remove-addon {
		width: 100%;
		margin-top: 5px;
	}
}

/* Reward points display */
.cart-rewards-notice {
	background: #000;
	color: #fff;
	padding: 15px;
	border-radius: 8px;
	margin: 20px 0;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
}

.cart-rewards-notice .points-amount {
	font-weight: bold;
	color: #ffd700;
}

/* Remove alignwide styling from WooCommerce cart block */
.wp-block-woocommerce-cart.alignwide {
	max-width: none !important;
	width: 100% !important;
}

/* Keep checkout block inside the normal content column */
.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-checkout.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}




/* Checkout page specific styles */

/* Rewards Points Styling - Matching Cart Page */
.hs-checkout-rewards {
	margin: 0 0 12px;
	padding: 12px;
	background: #181a1c;
	color: #fff;
	border-radius: 6px;
	font-size: 1rem;
	text-align: center;
	gap: 8px;
	white-space: normal; /* allow wrapping on small screens */
	min-height: 48px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hs-checkout-rewards .rewards-content {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.hs-checkout-rewards .rewards-content h3 {
	margin: 0;
	font-size: 1rem;
	color: #fff;
	font-weight: 600;
}

.hs-checkout-rewards .points-display {
	margin: 0;
	font-size: 1rem;
	color: #fff;
}

.hs-checkout-rewards .points-display strong {
	color: #ffd700;
	font-weight: 700;
}

.hs-checkout-rewards .rewards-note {
	display: none; /* Hide the note to match cart style */
}

/* Mobile responsive */
@media (max-width: 767px) {
	.hs-checkout-rewards {
		margin: 10px 0;
		padding: 8px 6px;
		min-height: 44px;
	}

	.hs-checkout-rewards .rewards-content {
		flex-direction: column;
		gap: 4px;
	}

	.hs-checkout-rewards .rewards-content h3,
	.hs-checkout-rewards .points-display {
		font-size: 12px;
	}
}


/* Product Labels */
.cart-item-label {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	margin-left: 8px;
}

.cart-item-pure {
	background: #10b981;
	color: white;
}

.cart-item-flexi {
	background: #3b82f6;
	color: white;
}

/* Mobile Optimization */
@media (max-width: 767px) {
	.mobile-checkout .wc-block-components-checkout-step {
		margin-bottom: 15px;
		padding: 15px;
		background: #ffffff;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	}

	.wc-block-checkout__sidebar {
		margin-top: 20px;
	}

	/* Ensure single order summary */
	.wc-block-checkout .wc-block-components-sidebar:not(:first-child) {
		display: none !important;
	}

	.hs-checkout-rewards {
		margin: 12px 0; /* remove side margins on mobile */
		padding: 15px;
		border-radius: 8px;
	}
}

/* Checkout Form Improvements */
.hardsoft-checkout-step {
	background: #fff;
	border: 1px solid #e1e5e9;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Input Fields with Pink Active States */
.wc-block-components-text-input input,
.wc-block-components-select select {
	border: 2px solid #e1e5e9;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 16px;
	background: #ffffff;
	color: #000000;
	transition: all 0.3s ease;
	font-family: inherit;
}

/* Phone input text styling */
.wc-block-components-text-input input[type="tel"],
#billing-phone,
#shipping-phone {
	color: #000000;
	-webkit-text-fill-color: #000000;
}

/* intl-tel-input: theme padding overrides the library, so digits sit under the flag */
.wc-block-components-text-input .iti {
	display: block;
	width: 100%;
}

.wc-block-components-text-input .iti__flag-container {
	z-index: 2;
}

.wc-block-components-text-input .iti input.iti__tel-input,
.wc-block-components-text-input .iti input[type="tel"],
.wc-block-components-text-input .iti #shipping-phone,
.wc-block-components-text-input .iti #billing-phone {
	/* Flag + separate dial code (+44) need clear left inset */
	padding-left: 6.75rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus {

	box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
	outline: none;
	background: #fdf2f8;
}

.wc-block-components-text-input input:hover,
.wc-block-components-select select:hover {
	border-color: #d1d5db;
	background: #fafafa;
}

/* Select dropdown styling */
.wc-block-components-select {
	position: relative;
}

.wc-block-components-select::after {
	content: "⌄";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #000;
	pointer-events: none;
	font-size: 1.2em;
}

/* Checkbox and Radio pink focus states */
.wc-block-components-checkbox__input:focus,
.wc-block-components-radio__input:focus {

	box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2) !important;
}


/* Form labels */
.wc-block-components-text-input label,
.wc-block-components-select label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

/* Order Summary Improvements */
.hardsoft-order-summary {
	background: #f8fafc;
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #e1e5e9;
}

.wc-block-components-order-summary-item {
	border-bottom: 1px solid #e5e7eb;
	padding: 16px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.wc-block-components-order-summary-item:last-child {
	border-bottom: none;
}

.wc-block-components-order-summary-item.hs-smart-coupon-product .wc-block-components-order-summary-item__image {
	background: #fff;
	border-radius: 8px;
}

.wc-block-components-order-summary-item.hs-smart-coupon-product .wc-block-components-order-summary-item__image img {
	object-fit: contain;
}

/* Remove any duplicate price indicators */
.period-indicator {
	display: none !important;
}

/* Loading states */
.checkout-item-variations {
	font-size: 12px;
	color: #000;
	font-style: italic;
}

/* Button improvements */
.wc-block-components-button {
	border-radius: 12px !important;
	padding: 16px 32px !important;
	margin-top: 16px !important;
	font-weight: 600 !important;
	transition: all 0.3s ease !important;
	background: #C12852!important;
	border: none !important;
}

.wc-block-components-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
	background: #C12852!important;
}



/* Mobile responsive inputs */
@media (max-width: 767px) {
	.wc-block-components-text-input input,
	.wc-block-components-select select {
		padding: 16px 14px;
		border-radius: 8px;
	}

	.hardsoft-checkout-step {
		padding: 20px;
		border-radius: 10px;
	}
}
/* Make all total prices bold */
.wc-block-components-order-summary-item__total-price,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-coupon__value,
.wc-block-components-totals-discount__value,
.wc-block-components-totals-fees__value,
.wc-block-components-totals-shipping__value,
.wc-block-components-totals-taxes__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-weight: 700 !important;
	color: #000;
}

/* Specific styling for the grand total */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.25rem;
	color: #C12852;
}

.wc-block-components-product-price__value {
	font-weight: 700 !important;
}

/* Order summary section headers */
.wc-block-components-order-summary__heading,
.wc-block-components-totals-item__label {
	font-weight: 600;
}

/* Order Confirmation Page */
body:is(.woocommerce-order-received,.woocommerce-order-confirmation) {
	main.wp-block-group {
		max-width: 720px;
		margin: 0 auto;
		padding: 48px 20px 80px;
	}

	.wp-block-woocommerce-order-confirmation-status h1 {
		font-size: 28px;
		font-weight: 600;
		margin: 0 0 8px 0;
		color: #111827;
	}

	.wp-block-woocommerce-order-confirmation-status p,
	.wc-block-order-confirmation-status-description p {
		font-size: 14px;
		line-height: 1.6;
		color: #6b7280;
		margin: 0 0 12px 0;
	}

	.wc-block-order-confirmation-summary {
		margin-top: 20px;
	}

	.wc-block-order-confirmation-summary-list {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 12px 24px;
	}

	.wc-block-order-confirmation-summary-list-item {
		font-size: 14px;
		color: #111827;
	}

	.wc-block-order-confirmation-summary-list-item__key {
		font-weight: 600;
		color: #6b7280;
		margin-right: 6px;
	}

	.wc-block-order-confirmation-totals-wrapper,
	.wc-block-order-confirmation-downloads-wrapper,
	.wc-block-order-confirmation-additional-fields-wrapper,
	.wc-block-order-confirmation-address-wrapper {
		margin-top: 28px;
	}

	.wc-block-order-confirmation-totals-wrapper .wp-block-heading,
	.wc-block-order-confirmation-downloads-wrapper .wp-block-heading,
	.wc-block-order-confirmation-additional-fields-wrapper .wp-block-heading {
		font-size: 18px;
		font-weight: 600;
		margin: 0 0 14px 0;
		color: #111827;
	}

	.wc-block-order-confirmation-totals__table,
	.wc-block-order-confirmation-downloads__table {
		border: 1px solid #e5e7eb !important;
		border-radius: 12px !important;
		overflow: hidden;
		background: #fff;
	}

	.wc-block-order-confirmation-totals__table th,
	.wc-block-order-confirmation-totals__table td,
	.wc-block-order-confirmation-downloads__table th,
	.wc-block-order-confirmation-downloads__table td {
		padding: 14px 16px;
		border-color: #eef2f7 !important;
		font-size: 14px;
	}

	.wc-block-order-confirmation-totals__table thead th {
		background: #f8fafc;
		font-weight: 600;
		color: #111827;
	}

	.wc-block-order-confirmation-totals__total {
		font-weight: 700;
		color: #111827;
	}

	.wc-block-order-confirmation-totals__table tfoot th,
	.wc-block-order-confirmation-totals__table tfoot td {
		font-weight: 700;
	}

	.wc-block-order-confirmation-totals__table tfoot td {
		color: #C12852;
	}

	.wc-block-order-confirmation-order-note,
	.wc-block-order-confirmation-billing-address,
	.wc-block-order-confirmation-shipping-address {
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		padding: 16px;
		background: #fff;
	}

	.wc-block-order-confirmation-address-wrapper .wp-block-heading {
		font-size: 16px;
		font-weight: 600;
		margin-bottom: 12px;
		color: #111827;
	}

	figure.wp-block-image {
		margin: 28px 0;
	}

	figure.wp-block-image img {
		border-radius: 12px;
		width: 100%;
		height: auto;
		display: block;
		background: #e5e7eb;
	}

	.wc-block-order-confirmation-create-account {
		background: #0f0f10;
		border-radius: 12px;
		color: #f9fafb;
		padding: 18px 20px;
		margin: 24px 0;
	}

	.wc-block-order-confirmation-create-account a,
	.wc-block-order-confirmation-create-account button {
		border-radius: 10px !important;
	}

	.wc-block-order-confirmation-create-account .wc-block-components-button {
		background: #111827 !important;
		border: 1px solid #e5e7eb !important;
		color: #fff !important;
		padding: 10px 18px !important;
		margin-top: 0 !important;
		box-shadow: none !important;
	}

	.wc-block-order-confirmation-create-account .wc-block-components-button:hover {
		transform: none !important;
		background: #1f2937 !important;
	}

	@media (max-width: 768px) {
		main.wp-block-group {
			padding: 36px 18px 64px;
		}

		.wc-block-order-confirmation-summary-list {
			flex-direction: column;
			gap: 8px;
		}
	}
}

/* Cart & checkout page titles below breadcrumbs */
body.woocommerce-cart .storefront-breadcrumb,
body.woocommerce-checkout .storefront-breadcrumb {
	margin-bottom: 0 !important;
}

body.woocommerce-cart header.entry-header,
body.woocommerce-checkout header.entry-header {
	display: block !important;
	margin-top: 0 !important;
	margin-bottom: 1.5rem !important;
	padding-bottom: 0 !important;
}

body.woocommerce-cart header.entry-header .entry-title,
body.woocommerce-checkout header.entry-header .entry-title {
	margin: 0;
}

/* Checkout step 1: email capture */
body.hs-checkout-get-started .storefront-breadcrumb {
	padding-top: 1.5rem;
	margin-bottom: 0 !important;
}

body.hs-checkout-get-started header.entry-header {
	display: block !important;
	margin-bottom: 1.5rem !important;
}

/* Match title + intro to the same left edge as .hs-get-started (col-full already pads). */
body.hs-checkout-get-started .hs-get-started-page-header {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
	text-align: left;
}

body.hs-checkout-get-started .hs-get-started-page-header .entry-title,
body.hs-checkout-get-started .hs-get-started-page-header .hs-get-started__intro {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.hs-get-started-page-header .hs-get-started__intro {
	margin: 0.5rem 0 0;
	color: #4b5563;
	line-height: 1.5;
	font-size: 1rem;
	font-weight: 400;
	text-align: left;
}

.hs-get-started {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 3rem;
}

.hs-get-started__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

@media (min-width: 992px) {
	.hs-get-started__layout {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
		align-items: start;
	}
}

.hs-get-started__main {
	max-width: 560px;
}

.hs-get-started__form .form-row {
	margin: 0 0 1.25rem;
}

.hs-get-started__form > p:not(.hs-get-started__privacy-notice) {
	display: none;
}

.hs-get-started__form .input-text {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	line-height: 1.5;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hs-get-started__form .input-text:focus {
	border-color: #c12852;
	outline: none;
	box-shadow: 0 0 0 3px rgb(193 40 82 / 0.15);
}

.hs-get-started__benefits {
	margin: 0 0 1.5rem;
	padding: 1.5rem;
	background: #ffe5ed;
	border-radius: 8px;
	color: #111827;
}

body.hardsoft-shop .hs-get-started__benefits,
body.hardsoft-shop .hs-get-started__benefits-list,
body.hardsoft-shop .hs-get-started__benefits-list li,
body.hardsoft-shop .hs-get-started__benefit-text {
	color: #111827 !important;
}

.hs-get-started__benefits-list {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.hs-get-started__benefits-list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	line-height: 1.5;
}

.hs-get-started__benefits-list li + li {
	margin-top: 0.875rem;
}

.hs-get-started__benefit-icon {
	display: inline-flex;
	flex: 0 0 24px;
	color: #c12852;
}

body.hardsoft-shop .hs-get-started__benefit-icon,
body.hardsoft-shop .hs-get-started__benefit-icon svg {
	color: #c12852 !important;
}

.hs-get-started__benefit-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.hs-get-started__benefit-text {
	flex: 1 1 auto;
}

.hs-get-started__trustpilot {
	margin-top: 0.5rem;
}

/* Fallback link colour if the Trustpilot widget script fails to load (widget itself uses data-theme="light") */
.hs-get-started__trustpilot a,
body.hardsoft-shop .hs-get-started__trustpilot a {
	color: #111827 !important;
}

.hs-get-started__submit.checkout-button {
	width: 100%;
	margin: 0;
	background-color: #c12852 !important;
	color: #fff !important;
	padding: 16px 24px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	display: block;
	cursor: pointer;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: none;
}

.hs-get-started__submit.checkout-button:hover,
.hs-get-started__submit.checkout-button:focus {
	background-color: #a91e47 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgb(193 40 82 / 0.3);
}

.hs-get-started__submit.checkout-button::before,
.hs-get-started__submit.checkout-button::after {
	display: none !important;
	content: none !important;
}

.hs-get-started__privacy-notice {
	margin: 1rem 0 0;
	color: #6b7280;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.hs-get-started__privacy-notice a {
	color: #c12852;
	text-decoration: underline;
}

.hs-get-started__summary-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.hs-get-started__summary-title {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #111827;
}

.hs-get-started__summary-rewards {
	margin: 0 0 1rem;
	padding: 0.875rem 1rem;
	background: #111827;
	color: #fff;
	border-radius: 8px;
}

.hs-get-started__summary-rewards p {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	color: #fff;
}

body.hardsoft-shop .hs-get-started__summary-rewards,
body.hardsoft-shop .hs-get-started__summary-rewards p,
body.hardsoft-shop .hs-get-started__summary-rewards strong {
	color: #fff !important;
}

.hs-get-started__summary-rewards .points-amount,
body.hardsoft-shop .hs-get-started__summary-rewards .points-amount {
	color: #ffd700 !important;
	font-weight: 700;
}

.hs-get-started__summary-items {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.hs-get-started__summary-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.hs-get-started__summary-item-media {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #fcedf4;
}

.hs-get-started__summary-item-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hs-get-started__summary-item-body {
	flex: 1;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	min-width: 0;
}

.hs-get-started__summary-item--smart-coupon .hs-get-started__summary-item-media {
	background: #fff;
}

.hs-get-started__summary-item-name {
	font-size: 0.875rem;
	line-height: 1.4;
	color: #111827;
}

.hs-get-started__summary-item-price {
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.hs-get-started__summary-totals {
	border-top: 1px solid #e5e7eb;
	padding-top: 0.75rem;
}

.hs-get-started__summary-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
	font-size: 0.875rem;
}

.hs-get-started__summary-row--total {
	margin-top: 0.35rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e5e7eb;
	font-size: 1rem;
	font-weight: 700;
}

/* Checkout step 2: billing-first address UX */
.wc-block-checkout__billing-fields .wc-block-components-title,
.wc-block-checkout__shipping-fields .wc-block-components-title {
	color: #111;
}

.wc-block-checkout__shipping-fields {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e5e7eb;
}

.wc-block-checkout .wc-block-checkout__use-address-for-billing,
.wp-block-woocommerce-checkout .wc-block-checkout__use-address-for-billing {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.625rem !important;
	margin: 0.75rem 0 1.25rem;
	cursor: pointer;
	position: relative;
	min-height: 1.25rem;
}

.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__input,
.wc-block-checkout__use-address-for-billing > input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	clip: rect(0, 0, 0, 0) !important;
	pointer-events: none !important;
}

.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__mark {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

.wc-block-checkout__use-address-for-billing::before {
	content: '' !important;
	display: block !important;
	flex: 0 0 1.25rem !important;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	box-sizing: border-box !important;
	border: 2px solid #6b7280 !important;
	border-radius: 50% !important;
	background: #fff !important;
	order: -1 !important;
}

.wc-block-checkout__use-address-for-billing.hs-different-shipping-active::before,
.wc-block-checkout__use-address-for-billing:has(input:not(:checked))::before {
	border-color: #111827 !important;
	background: radial-gradient(circle at center, #111827 0 38%, #fff 40%) !important;
}

.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #111827 !important;
	font-weight: 400 !important;
}

/* Old custom toggle / injected radio node */
.hs-different-shipping-toggle,
.hs-diff-ship-radio {
	display: none !important;
}

/* Address UX — primary is Woo shipping form (labelled Billing). Never hide it. */
.wc-block-checkout.hs-address-ux .wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout.hs-address-ux .wp-block-woocommerce-checkout-shipping-address-block,
.wc-block-checkout.hs-address-ux .wc-block-checkout__shipping-fields,
.wp-block-woocommerce-checkout.hs-address-ux .wc-block-checkout__shipping-fields,
.wc-block-checkout.hs-billing-first .wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout.hs-billing-first .wp-block-woocommerce-checkout-shipping-address-block,
.wc-block-checkout.hs-billing-first .wc-block-checkout__shipping-fields,
.wp-block-woocommerce-checkout.hs-billing-first .wc-block-checkout__shipping-fields {
	display: block !important;
	visibility: visible !important;
}

/* Visual order: primary shipping → billing (secondary appears via Woo when checkbox off) */
.wp-block-woocommerce-checkout-fields-block {
	display: flex;
	flex-direction: column;
}

.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-express-payment-block { order: 5; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-contact-information-block { order: 10; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-shipping-address-block { order: 20; }

/* Email is captured on get-started — hide Contact information on step 2 */
.wc-block-checkout .wc-block-checkout__contact-fields,
.wc-block-checkout .wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout .wc-block-checkout__contact-fields,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block {
	display: none !important;
}
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-billing-address-block { order: 40; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-shipping-methods-block { order: 45; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-payment-block { order: 50; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-additional-information-block { order: 60; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-order-note-block { order: 70; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-terms-block { order: 80; }
.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-actions-block { order: 90; }

/* No WC shipping rates UI — HardSoft handles delivery outside shipping methods */
.wc-block-checkout .wc-block-checkout__shipping-method,
.wc-block-checkout .wp-block-woocommerce-checkout-shipping-method-block,
.wc-block-checkout .wc-block-checkout__shipping-option,
.wc-block-checkout .wp-block-woocommerce-checkout-shipping-methods-block,
.wc-block-checkout .wc-block-components-shipping-rates-control,
.wc-block-checkout .wc-block-checkout__pickup-options,
.wc-block-checkout .wp-block-woocommerce-checkout-pickup-options-block,
.wp-block-woocommerce-checkout .wc-block-checkout__shipping-method,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout .wc-block-checkout__shipping-option,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block,
.wp-block-woocommerce-checkout .wc-block-components-shipping-rates-control,
.wp-block-woocommerce-checkout .wc-block-checkout__pickup-options,
.wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block {
	display: none !important;
}

.hs-different-shipping-toggle {
	flex: 1 0 100% !important;
	max-width: 100%;
	width: 100%;
	margin: 0.75rem 0 1.25rem;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.hs-different-shipping-toggle__label {
	display: inline-flex !important;
	align-items: center;
	gap: 0.625rem;
	cursor: pointer;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #111827 !important;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	box-shadow: none !important;
}

.hs-different-shipping-toggle__label:hover {
	border: none !important;
	background: transparent !important;
}

.hs-different-shipping-toggle__input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	appearance: none !important;
	opacity: 0 !important;
}

/* Radio-style circle to match the design mockup */
.hs-different-shipping-toggle__box {
	display: inline-block !important;
	flex: 0 0 1.25rem;
	width: 1.25rem !important;
	height: 1.25rem !important;
	box-sizing: border-box;
	border: 2px solid #9ca3af !important;
	border-radius: 50% !important;
	background: #fff !important;
	position: relative;
}

.hs-different-shipping-toggle__input:checked + .hs-different-shipping-toggle__box {
	border-color: #111827 !important;
	background: #fff !important;
}

.hs-different-shipping-toggle__input:checked + .hs-different-shipping-toggle__box::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.625rem;
	height: 0.625rem;
	border: none;
	border-radius: 50%;
	background: #111827;
	transform: translate(-50%, -50%);
}

.hs-different-shipping-toggle__input:focus-visible + .hs-different-shipping-toggle__box {
	outline: 2px solid #c12852;
	outline-offset: 2px;
}

.hs-different-shipping-toggle__text {
	color: #111827 !important;
	font-weight: 400;
}

.wc-block-components-address-form .hs-required-star {
	color: #c12852;
	font-weight: 700;
}

/* Subtitle under the "Billing address" / "Shipping address" heading */
.hs-address-subtitle {
	flex: 1 0 100%;
	width: 100%;
	margin: -0.5rem 0 0.25rem;
	color: #6b7280;
	font-size: 0.9375rem;
	line-height: 1.4;
}

/*
 * The "+ Add apartment, suite, etc." (address_2) toggle is a flex child with the
 * default order:0, so it floated to the very top of the address form. Place it with
 * the address, just after Address line 1.
 */
.wc-block-components-address-form > .wc-block-components-address-form__address_2-toggle {
	order: 55;
	flex: 1 0 100%;
	max-width: 100%;
	margin: 0.25rem 0 0.75rem;
}

/* Tighten the gap between the "Checkout" page title and the first address block */
body.woocommerce-checkout .entry-header {
	margin-bottom: 1rem;
	padding-bottom: 0;
}

/*
 * The compiled theme style.css sets `body.hardsoft-shop header.entry-header`
 * padding-bottom (via --hs-spacing) with !important, which reopened the gap.
 * Beat it with a higher-specificity !important scoped to the main checkout
 * step (never the step-1 get-started page).
 */
body.hardsoft-shop.woocommerce-checkout:not(.hs-checkout-get-started) header.entry-header {
	margin-bottom: 1rem !important;
	padding-bottom: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
	padding-top: 0;
}

.wp-block-woocommerce-checkout-fields-block {
	padding-top: 0;
}

.wp-block-woocommerce-checkout-fields-block > .wp-block-woocommerce-checkout-shipping-address-block {
	margin-top: 0;
}

.wp-block-woocommerce-checkout-shipping-address-block > .wc-block-components-title:first-child,
.wc-block-checkout__shipping-fields > .wc-block-components-title:first-child {
	margin-top: 0;
}

/* FCA regulatory notice above the Place Order button */
.hs-checkout-fca-notice {
	margin: 0 0 1rem;
	color: #6b7280;
	font-size: 0.8125rem;
	line-height: 1.5;
}

/* Place Order button label — white on the Flexi-pink background */
.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: #fff !important;
}

/*
 * Visual field order (CSS only — do not move React DOM nodes).
 * first/last → company → postcode → address → city → county → company number
 */
.wc-block-components-address-form {
	display: flex;
	flex-wrap: wrap;
}

.wc-block-components-address-form > *:has([id$="-first_name"]),
.wc-block-components-address-form > .wc-block-components-address-form__first_name {
	order: 10;
}

.wc-block-components-address-form > *:has([id$="-last_name"]),
.wc-block-components-address-form > .wc-block-components-address-form__last_name {
	order: 20;
}

.wc-block-components-address-form > *:has([id$="-company"]):not(:has([id*="company_number"])),
.wc-block-components-address-form > *:has([id$="-hs-chl-company_name"]),
.wc-block-components-address-form > .wc-block-components-address-form__company {
	order: 30;
}

.wc-block-components-address-form > *:has([id$="-postcode"]),
.wc-block-components-address-form > .wc-block-components-address-form__postcode {
	order: 40;
}

.wc-block-components-address-form > *:has([id$="-address_1"]),
.wc-block-components-address-form > .wc-block-components-address-form__address_1 {
	order: 50;
}

.wc-block-components-address-form > *:has([id$="-address_2"]),
.wc-block-components-address-form > .wc-block-components-address-form__address_2 {
	order: 60;
}

.wc-block-components-address-form > *:has([id$="-city"]),
.wc-block-components-address-form > .wc-block-components-address-form__city {
	order: 70;
}

.wc-block-components-address-form > *:has([id$="-state"]),
.wc-block-components-address-form > .wc-block-components-address-form__state,
.wc-block-components-address-form > .wc-block-components-state-input {
	order: 80;
}

.wc-block-components-address-form > *:has([id*="company_number"]),
.wc-block-components-address-form > .wc-block-components-address-form__hs-chl-company_number {
	order: 90;
}

.wc-block-components-address-form > *:has([id$="-country"]),
.wc-block-components-address-form > .wc-block-components-address-form__country,
.wc-block-components-address-form > *:has([id$="-phone"]),
.wc-block-components-address-form > *:has([id*="phone_dial_code"]) {
	order: 100;
}

/*
 * Secondary "delivery" address (Woo billing block):
 * shows its own "Shipping address" heading + "Please enter your shipping address"
 * subtitle (set in checkout-address-ux.js). Only First/Last name + the address
 * itself are needed, so company, company number and phone stay hidden. Company &
 * phone are reused from the primary form and their required flag is relaxed in JS
 * (checkout-address-ux.js / checkout-address-sync.js).
 */
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-address-form > *:has(#billing-company),
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-address-form > *:has(#billing-hs-chl-company_number),
.wp-block-woocommerce-checkout-billing-address-block .wc-block-components-address-form > *:has(#billing-phone),
.wp-block-woocommerce-checkout-billing-address-block .hs-company-suggestions {
	display: none !important;
}

#billing-postcode,
#shipping-postcode {
	font-weight: 400;
}

.wc-block-components-text-input:has(#billing-postcode) label,
.wc-block-components-text-input:has(#shipping-postcode) label {
	z-index: 2;
}

.wc-block-components-text-input:has(#billing-postcode) input,
.wc-block-components-text-input:has(#shipping-postcode) input {
	position: relative;
	z-index: 1;
}

/* Field layout: postcode full-width; company number full-width */
.wc-block-checkout__billing-fields .wc-block-components-text-input:has(#billing-postcode),
.wc-block-checkout__shipping-fields .wc-block-components-text-input:has(#shipping-postcode) {
	flex: 1 0 100% !important;
	max-width: 100%;
}

.wc-block-checkout__billing-fields .wc-block-components-text-input:has(#billing-hs-chl-company_number),
.wc-block-checkout__shipping-fields .wc-block-components-text-input:has(#shipping-hs-chl-company_number),
.wc-block-components-address-form__hs-chl-company_number {
	flex: 1 0 100% !important;
	max-width: 100%;
}

.wc-block-components-text-input:has(#billing-hs-chl-phone_dial_code),
.wc-block-components-text-input:has(#shipping-hs-chl-phone_dial_code) {
	display: none !important;
}

/* Blocks can keep shipping phone in the DOM but visually hidden while still
   validating shipping_phone — force it visible on the primary address form. */
.wc-block-components-text-input:has(#shipping-phone),
.wc-block-components-address-form__phone:has(#shipping-phone),
.wc-block-checkout__shipping-fields .wc-block-components-text-input:has(#shipping-phone) {
	display: block !important;
	visibility: visible !important;
}

.wc-block-checkout__additional-information .wc-block-components-title,
.wc-block-checkout__order-note .wc-block-components-title {
	margin-bottom: 0.5rem !important;
}

.wc-block-checkout__order-note {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.hs-chl-additional-info {
	margin-top: 0 !important;
	margin-bottom: 0.75rem !important;
}

.hs-chl-additional-info h3 {
	margin-bottom: 0.5rem !important;
}

/* Match Woo Blocks checkbox look (same as FCA terms consent) */
.hs-checkout-consent.wc-block-components-checkbox {
	display: inline-flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	margin: 0.75rem 0 1rem;
	cursor: pointer;
	position: relative;
	z-index: 2;
	line-height: 20px !important;
	font-size: 14px;
	color: inherit;
}

.hs-checkout-consent .wc-block-components-checkbox__input[type='checkbox'] {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-color: #fff !important;
	border: 1px solid rgba(25, 23, 17, 0.48) !important;
	border-radius: 4px !important;
	box-sizing: border-box !important;
	height: 20px !important;
	width: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	position: static !important;
	clip: auto !important;
	overflow: hidden !important;
	cursor: pointer !important;
	flex: 0 0 20px !important;
}

.hs-checkout-consent .wc-block-components-checkbox__input[type='checkbox']:checked {
	background: #fff !important;
}

.hs-checkout-consent .wc-block-components-checkbox__input[type='checkbox']:focus {
	outline: 1.5px solid hsla(0, 0%, 7%, 0.8) !important;
	outline-offset: 1.5px !important;
}

.hs-checkout-consent .wc-block-components-checkbox__mark {
	display: none;
	fill: #000 !important;
	height: 15px !important;
	width: 15px !important;
	margin-left: 3px !important;
	margin-top: 1px !important;
	pointer-events: none !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
}

.hs-checkout-consent .wc-block-components-checkbox__input[type='checkbox']:checked + .wc-block-components-checkbox__mark {
	display: block !important;
}

.hs-checkout-consent .wc-block-components-checkbox__label,
.hs-checkout-consent .wc-block-components-checkbox__label-text {
	color: #111827;
	line-height: 20px;
	font-size: 14px;
	padding: 0;
}

.hs-checkout-consent .wc-block-components-checkbox__label a,
.hs-checkout-consent .wc-block-components-checkbox__label-text a {
	color: #c12852;
	pointer-events: auto;
}

.hs-checkout-consent.has-error .wc-block-components-checkbox__input[type='checkbox'] {
	border-color: #cc1818 !important;
}

.hs-checkout-consent__error {
	color: #cc1818;
	font-size: 0.875rem;
	line-height: 1.4;
	margin: -0.35rem 0 0.75rem;
}

.idpc_ul {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	z-index: 200;
	margin-top: 0;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
}

.wc-block-components-text-input:has(#billing-company),
.wc-block-components-address-form__company {
	position: relative;
}

.hs-company-suggestions {
	z-index: 300;
}

/* Coupon form: global button margin-top pushed "Apply" below the input */
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form {
	align-items: center;
}

.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
	margin-top: 0 !important;
}
