/* Checkout: Click & Collect options row */
.diy-cc-options td {
	padding: 12px !important;
	background: #fff5f9;
	text-align: left !important;
}
.diy-cc-express {
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px dashed #ff7aa4;
	border-radius: 6px;
	background: #fff;
}
.diy-cc-express strong {
	display: block;
	margin-bottom: 4px;
}
.diy-cc-options label {
	display: block;
	font-weight: normal;
	line-height: 1.5;
}
.diy-cc-options input[type="checkbox"] {
	margin-right: 6px;
}
.diy-nonrefundable {
	font-size: 0.85em;
	opacity: 0.8;
}

/* Checkout: consent checkboxes above Place Order */
.diy-consent {
	margin: 0 0 1em;
}
.diy-consent .form-row {
	margin-bottom: 0.5em;
}
.diy-consent a {
	text-decoration: underline;
}
.diy-consent__note {
	font-size: 0.9em;
	margin: 0.25em 0 0;
	padding-bottom: 0 !important;
}

/* Click & Collect notice pop-up */
.diy-modal[hidden] {
	display: none;
}
.diy-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
}
.diy-modal__box {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 24px 24px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.diy-modal__box h3 {
	margin: 0 0 12px;
	padding: 0;
	font-size: 22px;
}
.diy-modal__box p {
	margin: 0 0 10px;
	padding: 0;
}
.diy-modal__small {
	font-size: 0.9em;
}
.diy-modal__small a {
	text-decoration: underline;
}
.diy-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.diy-modal__agree {
	display: block;
	margin: 14px 0;
	font-weight: 600;
}
.diy-modal__agree input {
	margin-right: 6px;
}
.diy-modal__confirm[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}
body.diy-modal-open {
	overflow: hidden;
}

/* Edible print disclaimer */
.diy-print-notice {
	margin: 0 0 1.5em;
	padding: 14px 16px;
	border-left: 4px solid #ff7aa4;
	border-radius: 4px;
	background: #fff5f9;
	font-size: 0.95em;
	text-align: left;
}
.diy-print-notice p {
	margin: 0 0 6px;
	padding: 0;
}
.diy-print-notice p:last-child {
	margin-bottom: 0;
}

/* Checkout: replace Divi's default blue accent with the brand pink */
body.woocommerce-checkout [class*="et_pb_wc_checkout"] a,
body.woocommerce-checkout .et_pb_wc_cart_notice a,
.diy-modal a {
	color: #e85b8a;
}
body.woocommerce-checkout [class*="et_pb_wc_checkout"] a:hover,
.diy-modal a:hover {
	color: #c93f6e;
}
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
	background: #e85b8a !important;
	color: #fff !important;
}
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-message a,
body.woocommerce-checkout .woocommerce-error a {
	color: #fff !important;
	text-decoration: underline;
}
body.woocommerce-checkout [class*="et_pb_wc_checkout"] input[type="checkbox"],
body.woocommerce-checkout [class*="et_pb_wc_checkout"] input[type="radio"],
.diy-modal input[type="checkbox"] {
	accent-color: #ff7aa4;
}

/* Pop-up Continue button */
.diy-modal .diy-modal__confirm {
	display: inline-block;
	padding: 10px 26px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #ff7aa4 !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.3 !important;
}
.diy-modal .diy-modal__confirm:not([disabled]):hover {
	background: #f25f8e !important;
}
.diy-modal .diy-modal__confirm:after {
	display: none !important;
}
.diy-modal__box h3 {
	color: #e85b8a;
}

/* Keep checkout errors visible (Digital Panda, 19 Nov 2026).
   Since WooCommerce 11.3 the checkout error box also has the class
   .woocommerce-notices-wrapper, which Divi hides inside its Payment module,
   so every "Place order" error was invisible and the page just jumped. */
body.woocommerce-checkout .et_pb_wc_checkout_payment_info .woocommerce-NoticeGroup-checkout,
body.woocommerce-checkout .et_pb_wc_checkout_payment_info .woocommerce-NoticeGroup-updateOrderReview {
	display: block !important;
	margin-bottom: 1.5em;
}
