/* Kook Pack Builder — picker. Uses the Kadence palette variables, with fallbacks for other themes. */
.kk-pack {
	--kk-accent: var(--global-palette1, #c21e3a);
	--kk-text: var(--global-palette3, #f4eee6);
	--kk-body: var(--global-palette4, #dcd4ca);
	--kk-muted: var(--global-palette5, #a79e95);
	--kk-dim: var(--global-palette6, #756d66);
	--kk-line: var(--global-palette7, #2b2725);
	width: 100%;
	margin: 0 0 24px;
	flex-basis: 100%;
}
.kk-pack__status {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-family: var(--global-heading-font-family, inherit);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--kk-text);
}
.kk-pack__count { color: var(--kk-accent); }
.kk-pack__bar { height: 6px; background: var(--kk-line); margin: 8px 0 16px; }
.kk-pack__fill { display: block; height: 100%; width: 0; background: var(--kk-accent); transition: width .2s; }
.kk-pack__groups { border-top: 1px solid var(--kk-line); }
.kk-pack__group { border-bottom: 1px solid var(--kk-line); }
.kk-pack__summary {
	list-style: none;
	min-height: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-family: var(--global-heading-font-family, inherit);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--kk-text);
}
.kk-pack__summary::-webkit-details-marker { display: none; }
.kk-pack__summary:focus-visible { outline: 2px solid var(--kk-accent); outline-offset: 2px; }
.kk-pack__group-total { font-weight: 400; color: var(--kk-muted); letter-spacing: .08em; }
.kk-pack__group-meta { display: flex; align-items: center; gap: 14px; }
.kk-pack__group-picked {
	font-family: var(--global-body-font-family, inherit);
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--kk-accent);
}
.kk-pack__chev {
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--kk-text);
	border-bottom: 2px solid var(--kk-text);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s;
}
.kk-pack__group[open] .kk-pack__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.kk-pack__items { list-style: none; margin: 0; padding: 0 0 12px; }
.kk-pack__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding-left: 16px;
	border-top: 1px solid var(--kk-line);
	color: var(--kk-body);
}
.kk-pack__item.is-picked .kk-pack__name { color: var(--kk-text); font-weight: 700; }
.kk-pack__item.is-out .kk-pack__name { color: var(--kk-dim); text-decoration: line-through; }
.kk-pack__soldout { margin-left: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--kk-dim); text-decoration: none; display: inline-block; }
.kk-pack__qty { display: inline-flex; align-items: center; border: 1px solid var(--kk-line); }
.kk-pack__qty button {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--kk-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}
.kk-pack__qty button:hover:not(:disabled) { color: var(--kk-accent); background: transparent; }
.kk-pack__qty button:disabled { opacity: .35; cursor: default; }
.kk-pack__qty input.kk-pack__input {
	width: 36px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--kk-text);
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.kk-pack__qty input::-webkit-outer-spin-button,
.kk-pack__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kk-pack__note { margin: 12px 0 0; font-size: 13px; color: var(--kk-muted); }
form.cart .single_add_to_cart_button.disabled,
form.cart .single_add_to_cart_button:disabled { opacity: 1; background: var(--kk-line); color: var(--kk-muted); cursor: not-allowed; }
/* Kadence puts quantity and button in a row; give the picker its own full row above them. */
form.cart:has(.kk-pack) { flex-wrap: wrap; }
