/* "Build Your Hook Removal Kit" cards above the shop loop */

.dhukr-bundles {
	margin: 0 0 32px;
	padding: 24px 0;
	border-bottom: 1px solid #e5e7eb;
}

.dhukr-bundles__heading {
	margin: 0 0 20px;
	font-size: 22px;
	text-align: center;
}

.dhukr-bundles__heading-description{
	margin: 0 0 20px;
	font-size: 20px;
	text-align: center;
	font-style: italic;
	font-weight: 600;
	color: #15803d;
}

.dhukr-bundles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 768px) {
	.dhukr-bundles__grid {
		grid-template-columns: 1fr;
	}
}

.dhukr-bundle-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.dhukr-bundle-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
	transform: translateY(-2px);
}

.dhukr-bundle-card__image {
	width: 72px;
	height: 72px;
	margin: 0 auto 12px;
}

.dhukr-bundle-card__image svg {
	width: 100%;
	height: 100%;
	display: block;
}

.dhukr-bundle-card__title {
	margin: 0 0 4px;
	font-size: 18px;
	line-height: 1.2;
}

.dhukr-bundle-card__save {
	color: #15803d;
	font-weight: 700;
	font-size: 22px;
	margin: 0 0 12px;
}

.dhukr-bundle-card__includes {
	margin: 0 0 8px;
	font-size: 13px;
	color: #4b5563;
	line-height: 1.4;
}

.dhukr-bundle-card__note {
	margin: 0 0 16px;
	font-size: 12px;
	font-style: italic;
	color: #9ca3af;
}

.dhukr-bundle-card__cta {
	margin-top: auto;
	width: 100%;
	padding: 15px;
	font-weight: 600;
	color: #000000;
	background-color: #9AC7CE;
	border-color: #e5e7eb;
	border-style: solid;
	border-width: 1px;
	border-radius: 5px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.3s ease,
		border-color 0.3s ease;
}

.dhukr-bundle-card__cta:hover,
.dhukr-bundle-card__cta:focus {
	color: #000000;
	background-color: #bee4eb;
	border-color: #9AC7CE;
}

/* Modal */

.dhukr-bundle-modal[hidden] {
	display: none;
}

.dhukr-bundle-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.dhukr-bundle-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.dhukr-bundle-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 10px;
	max-width: 660px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	padding: 28px 24px 24px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
	z-index: 1;
}

.dhukr-bundle-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
	padding: 4px 10px;
	border-radius: 4px;
}

.dhukr-bundle-modal__close:hover {
	color: #111827;
	background: #f3f4f6;
}

.dhukr-bundle-modal__title {
	margin: 0 0 4px;
	font-size: 22px;
	padding-right: 32px;
}

.dhukr-bundle-modal__sub {
	margin: 0 0 20px;
	color: #6b7280;
	font-size: 14px;
}

.dhukr-bundle-modal__slots {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.dhukr-bundle-slot {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 14px;
	background: #fafafa;
}

.dhukr-bundle-slot__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
	gap: 12px;
}

.dhukr-bundle-slot__label {
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.dhukr-bundle-slot__price {
	font-weight: 600;
	color: #111827;
	font-size: 14px;
	white-space: nowrap;
}

.dhukr-bundle-slot__body {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.dhukr-bundle-slot__image {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	overflow: hidden;
	position: relative;
}

.dhukr-bundle-slot__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dhukr-bundle-slot__image--empty img {
	visibility: hidden;
}

.dhukr-bundle-slot__image--empty::after {
	content: '';
	position: absolute;
	inset: 50% 50% 50% 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border-radius: 50%;
	background: #d1d5db;
}

.dhukr-bundle-slot__content {
	flex: 1;
	min-width: 0;
}

.dhukr-bundle-slot__tool-name {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #111827;
}

.dhukr-bundle-slot__picker,
.dhukr-bundle-slot__attr {
	margin-bottom: 8px;
}

.dhukr-bundle-slot__picker:last-child,
.dhukr-bundle-slot__attr:last-child {
	margin-bottom: 0;
}

.dhukr-bundle-slot__picker label,
.dhukr-bundle-slot__attr label {
	display: block;
	font-size: 12px;
	color: #4b5563;
	margin-bottom: 4px;
	font-weight: 500;
}

.dhukr-bundle-slot__picker select,
.dhukr-bundle-slot__attr select {
	width: 100%;
	padding: 8px 32px 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	color: #111827;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 10px 7px;
}

.dhukr-bundle-slot__picker select:focus,
.dhukr-bundle-slot__attr select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dhukr-bundle-slot__attributes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dhukr-bundle-modal__totals {
	border-top: 1px solid #e5e7eb;
	padding-top: 14px;
	margin-bottom: 14px;
}

.dhukr-bundle-modal__line {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 14px;
}

.dhukr-bundle-modal__line--discount {
	color: #15803d;
}

.dhukr-bundle-modal__line--total {
	font-weight: 700;
	font-size: 16px;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
	margin-top: 4px;
}

.dhukr-bundle-modal__error {
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fecaca;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	margin: 0 0 12px;
}

.dhukr-bundle-modal__submit {
	width: 100%;
	padding: 15px;
	color: #000000;
	background-color: #9AC7CE;
	border-color: #e5e7eb;
	border-style: solid;
	border-width: 1px;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease,
		border-color 0.3s ease;
}

.dhukr-bundle-modal__submit:hover:not(:disabled) {
	color: #000000;
	background-color: #bee4eb;
	border-color: #9AC7CE;
}

.dhukr-bundle-modal__submit:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

body.dhukr-modal-open {
	overflow: hidden;
}

/* Quick-add mode (modal opened from cart suggestion cards): single
   product, no combo discount, so suppress the discount line. */
.dhukr-bundle-modal__dialog[data-mode="quick-add"] .dhukr-bundle-modal__line--discount {
	display: none;
}

/* [dhukr_products] category-filtered product sections — heading matches
   the bundle section above, the inner cards keep theme + plugin styling
   (variation swatches stay intact). */

.dhukr-products-section {
	margin: 0 0 32px;
	padding: 24px 0 8px;
}

.dhukr-products-section__title {
	margin: 0 0 20px;
	font-size: 22px;
	text-align: center;
}

.dhukr-products-section ul.products,
.dhukr-products-section .products {
	display: grid;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dhukr-products-section .products.columns-1 {
	grid-template-columns: 1fr;
}

.dhukr-products-section .products.columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.dhukr-products-section .products.columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.dhukr-products-section .products.columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
	.dhukr-products-section .products[class*="columns-"] {
		grid-template-columns: 1fr;
	}
}

.dhukr-products-section .products li.product {
	margin: 0;
	width: auto !important;
	float: none !important;
	clear: none !important;
}