.dsdb-bulk-form {
	margin-top: 20px;
	border: 1px solid #e5e5e5;
	background: #ffffff;
}

.dsdb-bulk-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border: 0;
	background: #d99595;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.dsdb-bulk-toggle:hover {
	background: #c98585;
}

.dsdb-bulk-toggle:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.dsdb-bulk-toggle-text {
	display: inline-block;
}

.dsdb-bulk-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	font-size: 24px;
	line-height: 1;
	font-weight: 500;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

.dsdb-bulk-toggle.is-open .dsdb-bulk-toggle-icon {
	transform: rotate(45deg);
}

.dsdb-bulk-panel[hidden] {
	display: none;
}

.dsdb-bulk-panel-inner {
	padding: 0 20px 20px;
	border-top: 1px solid #eeeeee;
}

.dsdb-bulk-panel-inner h3 {
	margin: 20px 0 8px;
	font-size: 24px;
	line-height: 1.2;
}

.dsdb-bulk-panel-inner > p {
	margin: 0 0 18px;
	color: #666666;
	font-size: 14px;
	line-height: 1.5;
}

.dsdb-bulk-order-form {
	margin: 0;
}

.dsdb-bulk-table-wrap {
	width: 100%;
	max-height: 640px;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid #eeeeee;
	background: #ffffff;
}

.dsdb-bulk-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.dsdb-bulk-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 12px 14px;
	border-bottom: 1px solid #dddddd;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #222222;
	background: #fafafa;
}

.dsdb-bulk-table tbody td {
	padding: 14px 14px;
	border-bottom: 1px solid #eeeeee;
	vertical-align: middle;
	font-size: 14px;
}

.dsdb-bulk-row td {
	vertical-align: middle;
}

.dsdb-bulk-row td:first-child,
.dsdb-bulk-row td:nth-child(2),
.dsdb-bulk-row td:nth-child(3) {
	padding-top: 18px;
	padding-bottom: 18px;
}

.dsdb-bulk-table td:last-child {
	width: 140px;
	text-align: right;
}

.dsdb-qty-wrap {
	display: inline-flex;
	align-items: stretch;
	justify-content: flex-end;
}

.dsdb-qty-btn {
	width: 36px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 1px solid #d8d8d8;
	background: #f8f8f8;
	color: #222222;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
}

.dsdb-qty-btn:hover {
	background: #efefef;
}

.dsdb-qty-btn:disabled {
	background: #f5f5f5;
	color: #aaaaaa;
	cursor: not-allowed;
}

.dsdb-qty-wrap input[type="number"] {
	width: 46px;
	height: 40px;
	margin: 0;
	padding: 0;
	border-top: 1px solid #d8d8d8;
	border-bottom: 1px solid #d8d8d8;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	background: #ffffff;
	text-align: center;
	box-shadow: none;
	appearance: textfield;
	-moz-appearance: textfield;
}

.dsdb-qty-wrap input[type="number"]::-webkit-outer-spin-button,
.dsdb-qty-wrap input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.dsdb-bulk-table input[type="number"]:disabled {
	background: #f5f5f5;
	color: #999999;
	cursor: not-allowed;
}

.dsdb-bulk-actions {
	margin-top: 14px;
}

.dsdb-bulk-actions .button,
.dsdb-bulk-actions .button.alt,
.dsdb-bulk-actions .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 28px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

.dsdb-bulk-meta-row td {
	padding: 6px 14px 14px;
	border-bottom: 1px solid #eeeeee;
	font-size: 12px;
	color: #777777;
	background: #fcfcfc;
	text-align: left !important;
}

.dsdb-bulk-meta-row small {
	font-size: 12px;
	color: #777777;
}

@media (max-width: 768px) {
	.dsdb-bulk-toggle {
		padding: 16px;
		font-size: 17px;
	}

	.dsdb-bulk-panel-inner {
		padding: 0 16px 16px;
	}

	.dsdb-bulk-panel-inner h3 {
		margin-top: 16px;
		font-size: 22px;
	}

	.dsdb-bulk-panel-inner > p {
		font-size: 13px;
	}

	.dsdb-bulk-table-wrap {
		max-height: none;
		overflow: visible;
		border: 0;
	}

	.dsdb-bulk-table thead {
		display: none;
	}

	.dsdb-bulk-table,
	.dsdb-bulk-table tbody,
	.dsdb-bulk-table tr,
	.dsdb-bulk-table td {
		display: block;
		width: 100%;
	}

	.dsdb-bulk-table tbody td,
	.dsdb-bulk-row td:first-child,
	.dsdb-bulk-row td:nth-child(2),
	.dsdb-bulk-row td:nth-child(3) {
		padding: 10px 0;
	}

	.dsdb-bulk-row {
		border-bottom: 1px solid #eeeeee;
		padding: 12px 0;
	}

	.dsdb-bulk-row td {
		border: 0;
		text-align: left !important;
	}

	.dsdb-bulk-row td:last-child {
		width: 100%;
	}

	.dsdb-bulk-row td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: #666666;
	}

	.dsdb-qty-wrap {
		justify-content: flex-start;
	}

	.dsdb-bulk-meta-row td {
		padding: 0 0 12px;
		background: transparent;
		border: 0;
	}

	.dsdb-bulk-actions .button,
	.dsdb-bulk-actions .button.alt,
	.dsdb-bulk-actions .single_add_to_cart_button {
		width: 100%;
	}
}