.zanikoga-gift-panel {
	text-align: start;
}

.zanikoga-gift-panel .wc-block-components-panel__button {
	cursor: pointer;
}

.zanikoga-gift-panel__button {
	display: flex;
	align-items: center;
	width: 100%;
}

.zanikoga-gift-panel .wc-block-components-panel__button-icon {
	flex: 0 0 24px;
	transition: transform .2s ease;
}

.zanikoga-gift-panel.is-open .wc-block-components-panel__button-icon {
	transform: rotate(180deg);
}

.zanikoga-gift-panel__content {
	margin-top: 15px;
}

.zanikoga-gift-panel__content[hidden] {
	display: none;
}

.zanikoga-gift-panel__checkbox {
	margin-bottom: 10px;
}

.zanikoga-gift-panel__checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	position: relative;
	margin: 0;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--small, 14px);
	line-height: 20px;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__input {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 20px;
	box-sizing: border-box;
	width: 20px;
	min-width: 20px;
	height: 20px;
	margin: 0;
	overflow: hidden;
	border: 1px solid currentColor;
	border: 1px solid color-mix(in srgb, currentColor 48%, transparent);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__input:checked {
	background: #fff;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__input:focus-visible {
	outline: 1.5px solid currentColor;
	outline: 1.5px solid color-mix(in srgb, currentColor 80%, transparent);
	outline-offset: 1.5px;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__mark {
	position: absolute;
	display: block;
	width: 15px;
	height: 15px;
	margin-top: 1px;
	margin-left: 3px;
	pointer-events: none;
	fill: #000;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__input:not(:checked)+.wc-block-components-checkbox__mark {
	display: none;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__input:checked+.wc-block-components-checkbox__mark {
	display: block;
}

.zanikoga-gift-panel__checkbox .wc-block-components-checkbox__label {
	flex: 1 1 auto;
}

.zanikoga-gift-panel__note {
	display: block;
	margin: 12px 0 0;
}

.zanikoga-gift-panel__note-label {
	display: block;
	margin-bottom: 8px;
	font-size: var(--wp--preset--font-size--small, 14px);
	font-weight: 600;
	line-height: 20px;
}

.zanikoga-gift-panel__note-field {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: auto !important;
	resize: vertical;
}

.zanikoga-gift-panel__note-field[hidden] {
	display: none;
}

.woocommerce-cart-form .zanikoga-gift-panel {
	flex: 1 1 100%;
	order: 3;
	margin-bottom: 0;
}