.kpw-product-actions {
	--kpw-bg: #1c1c1c;
	--kpw-border: #3a3a3a;
	--kpw-red: #8B1E1E;
	--kpw-text: #ffffff;
	--kpw-muted: #9a9a9a;
	font-family: inherit;
	width: 100%;
}

.kpw-notice {
	padding: 16px;
	background: #2a1414;
	border: 1px solid #8B1E1E;
	color: #fff;
	border-radius: 6px;
	font-size: 14px;
}

.kpw-attribute-row { margin-bottom: 20px; }

.kpw-attribute-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.kpw-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--kpw-text);
}

.kpw-selected-value {
	font-size: 12px;
	color: var(--kpw-muted);
}

.kpw-swatches {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.kpw-swatch {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50%;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 0;
	position: relative;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
	transition: border-color .15s ease, transform .15s ease;
}

.kpw-swatch:hover { transform: scale(1.06); }

.kpw-swatch.is-active {
	border-color: #ffffff;
}

.kpw-swatch.is-active::after {
	content: "\2713";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: #111;
	text-shadow: 0 0 2px rgba(255,255,255,.6);
}

.kpw-size-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.kpw-size-btn {
	min-width: 88px;
	height: 45.6px;
	padding: 0 14px;
	border-radius: 4px;
	border: none;
	background: #2a2a2a;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.kpw-size-btn.is-active {
	background: #ffffff;
	color: #111111;
	font-weight: 600;
}

.kpw-qty-row { margin: 22px 0; }

.kpw-qty-control {
	display: inline-flex;
	align-items: center;
	background: #2a2a2a;
	border-radius: 4px;
	overflow: hidden;
	width: fit-content;
}

.kpw-qty-control button {
	background: transparent;
	border: none;
	color: #fff;
	width: 45px;
	height: 60px;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}
.kpw-qty-control button:hover, .kpw-qty-control button:focus{
background: var(--kpw-red);
}
.kpw-qty-control .kpw-qty-value {
	min-width: 34px;
	text-align: center;
	font-size: 15px;
	color: #fff;
}

.kpw-qty-control input.kpw-qty-value {
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	outline: none;
	padding: 0;
	-moz-appearance: textfield;
}
.kpw-qty-control input.kpw-qty-value::-webkit-outer-spin-button,
.kpw-qty-control input.kpw-qty-value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.kpw-actions-row {
	display: grid;
	grid-template-columns: 6fr 4fr;
	gap: 12px;
	margin-top: 8px;
}

.kpw-btn {
	height: 66px;
	border: none;
	border-radius: 2px !important;
	font-size: 20px;
	font-family: "Futura PT Bold", Sans-serif;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 2px;
	cursor: pointer;
	padding: 0 8px;
	transition: filter .15s ease, opacity .15s ease;
}

.kpw-btn:hover { filter: brightness(1.08); }
.kpw-btn:disabled { opacity: .55; cursor: not-allowed; }
.kpw-btn:focus,
.kpw-btn:focus-visible,
.kpw-swatch:focus,
.kpw-swatch:focus-visible,
.kpw-size-btn:focus,
.kpw-size-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(139, 30, 30, 0.55);
}

.kpw-btn-buy-now { background: var(--kpw-red); color: #fff; }
.kpw-btn-add-cart { background: #2a2a2a; color: #fff; }

.kpw-message {
	margin-top: 10px;
	font-size: 13px;
	min-height: 18px;
}
.kpw-message.is-success { color: #4caf50; }
.kpw-message.is-error { color: #e05252; }

@media (max-width: 480px) {
	.kpw-actions-row { grid-template-columns: 1fr; }
}
