/*
 * Haddiction Cart - brand layer (1.38.0)
 *
 * Rounded cards, ink/lime pills and the off-white page, matching the mobile
 * menu, the login screens and the tracking desk. Loaded after drawer.css and
 * checkout.css and only re-skins: no layout or behaviour lives here, so if
 * this file is removed the cart and checkout still work exactly as before.
 *
 * Brand: ink #15141B, lime #D5F25B, mist #F2F6DF, page #F6F7F3,
 * line #ECECEF, chip #F4F5F1, muted #7A7985.
 *
 * Every rule starts with `html` so it outranks the plugin's own rules without
 * an arms race of longer selectors.
 */

/* =====================================================================
 * Drawer
 * ===================================================================== */

html .hadc-root .hadc-panel,
html .hadc-root .hadc-body { background: #F6F7F3 !important; }

/* Header */
html .hadc-root .hadc-head {
	background: #fff !important;
	border-bottom: 1px solid #ECECEF !important;
	padding: 14px 16px !important;
}
html .hadc-root .hadc-title {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-size: 19px !important;
	font-weight: 700 !important;
	color: #15141B !important;
}
html .hadc-root .hadc-title[data-n]::after {
	content: attr(data-n);
	background: #D5F25B;
	color: #15141B;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	border-radius: 999px;
	padding: 2px 9px;
}
html .hadc-root .hadc-langs {
	background: #F4F5F1 !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 3px !important;
	gap: 2px !important;
}
html .hadc-root .hadc-lang {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 999px !important;
	padding: 5px 9px !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	color: #7A7985 !important;
}
html .hadc-root .hadc-lang.is-on {
	background: #D5F25B !important;
	color: #15141B !important;
}
html .hadc-root .hadc-close {
	width: 36px !important;
	height: 36px !important;
	border-radius: 999px !important;
	background: #F4F5F1 !important;
	color: #15141B !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

/* Items */
html .hadc-root .hadc-body-inner { padding: 14px 14px 6px !important; }
html .hadc-root .hadc-items {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
}
html .hadc-root .hadc-item {
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 18px !important;
	padding: 12px !important;
	margin: 0 !important;
	box-shadow: 0 6px 18px rgba(21, 20, 27, .04) !important;
}
html .hadc-root .hadc-item-media {
	border-radius: 14px !important;
	overflow: hidden;
	background: #F6F7F3 !important;
}
html .hadc-root .hadc-item-name,
html .hadc-root .hadc-item-price { font-weight: 700 !important; color: #15141B !important; }
html .hadc-root .hadc-item-meta {
	display: inline-block !important;
	align-self: flex-start;
	width: max-content !important;
	max-width: 100%;
	margin-top: 3px !important;
	padding: 2px 9px !important;
	border-radius: 999px;
	background: #F2F6DF;
	color: #15141B !important;
	font-size: 11.5px !important;
}
html .hadc-root .hadc-item-remove {
	width: 26px !important;
	height: 26px !important;
	margin-left: 6px;
	border-radius: 999px !important;
	background: #F4F5F1 !important;
	color: #7A7985 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}
html .hadc-root .hadc-item-remove:hover { background: #15141B !important; color: #fff !important; }
html .hadc-root .hadc-qty {
	height: auto !important;
	gap: 4px;
	padding: 3px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #F4F5F1 !important;
}
html .hadc-root .hadc-qty-btn {
	width: 28px !important;
	height: 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: #15141B !important;
	font-weight: 700 !important;
	box-shadow: 0 1px 3px rgba(21, 20, 27, .08) !important;
}
html .hadc-root .hadc-qty-value { min-width: 22px; text-align: center; font-weight: 700 !important; }

/* Order bump */
html .hadc-root .hadc-bump {
	background: transparent !important;
	border: 0 !important;
	padding: 6px 14px 12px !important;
}
html .hadc-root .hadc-bump-eyebrow {
	margin: 0 0 8px 4px !important;
	font-size: 11px !important;
	letter-spacing: .12em !important;
	color: #7A7985 !important;
}
html .hadc-root .hadc-bump-card {
	background: #F2F6DF !important;
	border: 1px solid #D5F25B !important;
	border-radius: 18px !important;
	padding: 12px !important;
}
html .hadc-root .hadc-bump-media { border-radius: 12px !important; overflow: hidden; background: #fff !important; }
html .hadc-root .hadc-bump-name { font-weight: 700 !important; color: #15141B !important; }
html .hadc-root .hadc-bump-add {
	border: 0 !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	background: #15141B !important;
	color: #D5F25B !important;
	font-weight: 700 !important;
}
html .hadc-root .hadc-bump-add:hover { background: #D5F25B !important; color: #15141B !important; }

/* Empty cart + "You might like this" */
html .hadc-root .hadc-empty {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #15141B !important;
}
html .hadc-root .hadc-empty::before {
	content: "";
	width: 58px;
	height: 58px;
	border-radius: 999px;
	background: #F2F6DF url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315141B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1 13H5L6 7z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / 26px no-repeat;
}
html .hadc-root .hadc-suggest-lead { color: #7A7985 !important; }
html .hadc-root .hadc-suggest-card {
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 20px !important;
	box-shadow: 0 6px 18px rgba(21, 20, 27, .04) !important;
}
html .hadc-root .hadc-suggest-card select {
	border-radius: 14px !important;
	border: 1px solid #E4E5EA !important;
}
html .hadc-root .hadc-suggest-btn:not(.hadc-suggest-btn--link),
html .hadc-root .hadc-suggest-add {
	border-radius: 999px !important;
	background: #15141B !important;
	color: #fff !important;
	font-weight: 700 !important;
	border: 0 !important;
}
html .hadc-root .hadc-suggest-btn:not(.hadc-suggest-btn--link):hover,
html .hadc-root .hadc-suggest-add:hover { background: #D5F25B !important; color: #15141B !important; }

/* Footer */
html .hadc-root .hadc-foot {
	background: #fff !important;
	border-top: 1px solid #ECECEF !important;
	border-radius: 22px 22px 0 0 !important;
	box-shadow: 0 -10px 30px rgba(21, 20, 27, .06) !important;
	padding: 14px 16px 18px !important;
}
html .hadc-root .hadc-foot-slot,
html .hadc-root .hadc-coupon { display: block !important; width: 100% !important; }
html .hadc-root .hadc-coupon { border: 0 !important; padding: 0 0 10px !important; }
html .hadc-root .hadc-coupon-toggle {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100% !important;
	height: auto !important;
	box-sizing: border-box;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	background: #F4F5F1 !important;
	color: #15141B !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}
html .hadc-root .hadc-coupon-toggle::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid #15141B;
	border-bottom: 2px solid #15141B;
	transform: rotate(-45deg);
	transition: transform .2s ease;
}
html .hadc-root .hadc-coupon-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
html .hadc-root .hadc-coupon-input { border-radius: 12px !important; }
html .hadc-root .hadc-coupon-apply { border-radius: 999px !important; }
html .hadc-root .hadc-totals { padding: 4px 2px 12px !important; border: 0 !important; }
html .hadc-root .hadc-totals-label { font-weight: 600 !important; color: #7A7985 !important; }
html .hadc-root .hadc-subtotal { font-size: 20px !important; font-weight: 800 !important; color: #15141B !important; }
html .hadc-root .hadc-checkout {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px !important;
	border-radius: 999px !important;
	background: #15141B !important;
	color: #fff !important;
	font-weight: 700 !important;
	box-shadow: 0 10px 24px rgba(21, 20, 27, .18) !important;
}
html .hadc-root .hadc-checkout::after { content: "\2192"; color: #D5F25B; font-weight: 700; font-size: 17px; }

/* =====================================================================
 * Checkout page (the three steps)
 * ===================================================================== */

html body .hadc-checkout-page { background: #F6F7F3 !important; }

html body .hadc-checkout-page .hadc-summary-bar {
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 18px !important;
	box-shadow: 0 6px 18px rgba(21, 20, 27, .04) !important;
}

/* Step bar: one pill, current step dark with a lime number, done steps mist with a tick */
html body .hadc-checkout-page .hadc-checkout-steps {
	gap: 4px !important;
	margin: 0 0 18px !important;
	padding: 5px !important;
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 999px !important;
}
html body .hadc-checkout-page .hadc-checkout-steps li {
	justify-content: center !important;
	padding: 8px 6px !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: #7A7985 !important;
	font-size: 13px !important;
	transition: background-color .2s ease, color .2s ease;
}
html body .hadc-checkout-page .hadc-checkout-steps .hadc-step-num {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 22px !important;
	height: 22px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #F4F5F1 !important;
	color: #7A7985 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}
html body .hadc-checkout-page .hadc-checkout-steps li.is-current { background: #15141B !important; color: #fff !important; }
html body .hadc-checkout-page .hadc-checkout-steps li.is-current .hadc-step-num { background: #D5F25B !important; color: #15141B !important; }
html body .hadc-checkout-page .hadc-checkout-steps li.is-done { background: #F2F6DF !important; color: #15141B !important; }
html body .hadc-checkout-page .hadc-checkout-steps li.is-done .hadc-step-num {
	background: #D5F25B !important;
	color: #15141B !important;
	font-size: 0 !important;
}
html body .hadc-checkout-page .hadc-checkout-steps li.is-done .hadc-step-num::before {
	content: "";
	width: 9px;
	height: 5px;
	border-left: 2px solid #15141B;
	border-bottom: 2px solid #15141B;
	transform: translateY(-1px) rotate(-45deg);
}
html body .hadc-checkout-page .hadc-checkout-steps li.is-clickable:hover .hadc-step-label { text-decoration: none !important; }
html body .hadc-checkout-page .hadc-checkout-steps li.is-clickable:hover { background: #E8F0C9 !important; }

/* Fields */
html body .hadc-checkout-page form.checkout input.input-text,
html body .hadc-checkout-page form.checkout select,
html body .hadc-checkout-page form.checkout .select2-selection {
	border: 1px solid #E4E5EA !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: none !important;
}
html body .hadc-checkout-page form.checkout input.input-text:focus {
	border-color: #15141B !important;
	box-shadow: 0 0 0 3px rgba(213, 242, 91, .6) !important;
}

/* Step 2 */
html body .hadc-checkout-page .hadc-delivery-card {
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 18px !important;
	box-shadow: 0 6px 18px rgba(21, 20, 27, .04) !important;
}
html body .hadc-checkout-page ul.woocommerce-shipping-methods {
	border: 1.5px solid #15141B !important;
	border-radius: 16px !important;
	box-shadow: 0 0 0 3px rgba(213, 242, 91, .55) !important;
}
html body .hadc-checkout-page .hadc-eas-line.is-done {
	background: #F2F6DF !important;
	border: 0 !important;
	border-radius: 14px !important;
	font-weight: 600 !important;
}
html body .hadc-checkout-page .hadc-eas-line.is-done,
html body .hadc-checkout-page .hadc-eas-line.is-done * { color: #15141B !important; }

/* Step 3 */
html body .hadc-checkout-page ul.wc_payment_methods > li {
	background: #fff !important;
	border: 1px solid #ECECEF !important;
	border-radius: 16px !important;
	transition: box-shadow .15s ease, border-color .15s ease;
}
html body .hadc-checkout-page ul.wc_payment_methods > li:has(> input:checked) {
	border-color: #15141B !important;
	box-shadow: 0 0 0 3px rgba(213, 242, 91, .55) !important;
}
html body .hadc-checkout-page ul.wc_payment_methods input[type="radio"] { accent-color: #15141B; }

/* Buttons: Continue dark with a lime arrow, Place order lime */
html body .hadc-checkout-page button.hadc-step-next {
	min-height: 54px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #15141B !important;
	color: #fff !important;
	font-weight: 700 !important;
	box-shadow: 0 10px 24px rgba(21, 20, 27, .18) !important;
}
html body .hadc-checkout-page button.hadc-step-next::after { content: " \2192"; color: #D5F25B; }
html body .hadc-checkout-page button.hadc-step-next:hover { background: #D5F25B !important; color: #15141B !important; }
html body .hadc-checkout-page button.hadc-step-next:hover::after { color: #15141B; }
html body .hadc-checkout-page #place_order {
	min-height: 56px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #D5F25B !important;
	color: #15141B !important;
	font-weight: 800 !important;
	box-shadow: 0 10px 24px rgba(213, 242, 91, .35) !important;
}
html body .hadc-checkout-page #place_order:hover { background: #15141B !important; color: #D5F25B !important; }
html body.hadc-over-limit .hadc-checkout-page button.hadc-step-next:hover { background: #15141B !important; color: #fff !important; }

/* 1.38.2 - free-shipping progress on the Checkout button: a short soft fade
   after the end of the green instead of a hard edge. The fade sits OUTSIDE
   the fill, so the fill still ends exactly at the percentage and the eye can
   still read where the progress stops. Width is min(16px, 1000%) of the fill:
   at 0% the fill is 0 wide, so the fade is too - nothing shows on an empty bar. */
html .hadc-root .hadc-checkout-fill::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: min(16px, 1000%);
	background: linear-gradient(to right, var(--hadc-ship-green, #22c55e), transparent);
	pointer-events: none;
}
html .hadc-root .hadc-checkout.is-done .hadc-checkout-fill::after { display: none; }

/* 1.38.3 - bundles in the drawer: one white card with a light-green header,
   items as rows inside it (not cards inside a card), savings as small lime
   pills instead of green text, and the total as a clear footer line. */
html .hadc-root .hadc-bundle {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1.5px solid #D5F25B !important;
	border-radius: 20px !important;
	box-shadow: 0 8px 22px rgba(21, 20, 27, .05) !important;
	overflow: hidden !important;
}
html .hadc-root .hadc-bundle-head {
	padding: 11px 12px 11px 14px !important;
	background: #F2F6DF !important;
	border-bottom: 1px solid #E6EDC4 !important;
}
html .hadc-root .hadc-bundle-label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	color: #15141B !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
}
html .hadc-root .hadc-bundle-label::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	border-radius: 999px;
	background: #D5F25B url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315141B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4v-8'/%3E%3Cpath d='M2 7h20v5H2z'/%3E%3Cpath d='M12 20V7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html .hadc-root .hadc-bundle-head .hadc-item-remove { background: #fff !important; }

html .hadc-root .hadc-bundle-items { display: block !important; }
html .hadc-root .hadc-bundle-items .hadc-item {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 1px solid #F0F1F3 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 12px 14px !important;
	margin: 0 !important;
}
html .hadc-root .hadc-bundle-items .hadc-item:last-child { border-bottom: 0 !important; padding-bottom: 12px !important; }
html .hadc-root .hadc-bundle-items .hadc-item-media { width: 64px !important; height: 64px !important; flex: 0 0 64px !important; }

html .hadc-root .hadc-item-qty-flat { color: #7A7985 !important; font-size: 12.5px !important; font-weight: 600 !important; }
html .hadc-root .hadc-item-was,
html .hadc-root .hadc-item-price-was { color: #A3A2AC !important; font-weight: 500 !important; }
html .hadc-root .hadc-item-save {
	padding: 3px 8px !important;
	border-radius: 999px !important;
	background: #D5F25B !important;
	color: #15141B !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
}

html .hadc-root .hadc-bundle-foot {
	align-items: center !important;
	padding: 12px 14px !important;
	background: #FAFAF7 !important;
	border-top: 1px solid #ECECEF !important;
}
html .hadc-root .hadc-bundle-total-label { color: #7A7985 !important; font-weight: 600 !important; font-size: 13px !important; }
html .hadc-root .hadc-bundle-total { color: #15141B !important; font-weight: 800 !important; font-size: 17px !important; }
