/* Product and cart controls */
.single-product .button--add-to-cart > .button__text--price,
.single-product .button--add-to-cart > svg {
	display: none !important;
}

.single-product .button--add-to-cart {
	justify-content: center !important;
}

#pxl-cart-sidebar .quantity {
	box-sizing: border-box !important;
	flex: 0 0 96px !important;
	min-width: 96px !important;
	width: 96px !important;
}

.woocommerce-cart-form .quantity,
.woocommerce-checkout .quantity {
	box-sizing: border-box !important;
	flex: 0 0 120px !important;
	min-width: 120px !important;
	width: 120px !important;
}

#pxl-cart-sidebar input.qty {
	box-sizing: border-box !important;
	min-width: 96px !important;
	width: 96px !important;
	padding-right: 28px !important;
	padding-left: 28px !important;
	text-align: center !important;
}

.woocommerce-cart-form input.qty,
.woocommerce-checkout input.qty {
	box-sizing: border-box !important;
	min-width: 120px !important;
	width: 120px !important;
	padding-right: 32px !important;
	padding-left: 32px !important;
	text-align: center !important;
}

/* Checkout */
#company_details_field,
.company_details_field,
#company_details_field label.checkbox,
label[for="company_details"] {
	font-size: 17px !important;
	font-weight: 700 !important;
}

#company_details_field,
.company_details_field {
	padding: 14px 16px !important;
	border: 2px solid #1f2c86 !important;
	border-radius: 10px !important;
	background: #f3f6ff !important;
}

#company_details,
input[name="company_details"] {
	width: 22px !important;
	height: 22px !important;
	margin-right: 9px !important;
	accent-color: #1f2c86;
}

#place_order {
	min-height: 54px;
	white-space: normal;
}

.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout form.checkout > .woocommerce-error {
	display: block !important;
	margin: 0 0 24px !important;
	padding: 16px 18px !important;
	border: 2px solid #b42318 !important;
	border-radius: 10px !important;
	background: #fff1f0 !important;
	color: #7a271a !important;
}

/* Header and shop */
.pxl-site-logo img,
.pxl-header-logo img,
header .site-logo img {
	width: 126px !important;
	max-width: 126px !important;
	height: auto !important;
}

.woocommerce-topbar .buttons,
.woocommerce-topbar .button--shop-grid,
.didaktovo-hidden-filter {
	display: none !important;
}

/* Thank-you page */
.elementor-4118 .elementor-element-9548179,
.woocommerce-order-received .woocommerce-notice--success::before,
.woocommerce-order-received .woocommerce-thankyou-order-received::before,
.woocommerce-order-received .woocommerce-order-overview + .pxl-icon,
.woocommerce-order-received .woocommerce-thankyou-order-received svg:first-child {
	display: none !important;
}

.didaktovo-thankyou-note {
	display: inline-block;
	max-width: 760px;
	margin-top: 10px;
	font-weight: 400;
	line-height: 1.6;
}

.elementor-4118 .elementor-element-16d7518 .elementor-widget-container {
	max-width: 820px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.65;
}

.didaktovo-order-summary {
	width: min(820px, calc(100% - 32px));
	margin: 34px auto 0;
	padding: 28px 32px;
	border: 1px solid #e2e5ef;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(31, 44, 134, 0.08);
	text-align: left;
}

.didaktovo-order-summary h3 {
	margin: 0 0 18px;
	font-size: 24px;
}

.didaktovo-order-summary dl {
	margin: 0;
}

.didaktovo-order-summary dl > div {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 0;
	border-bottom: 1px solid #edf0f6;
}

.didaktovo-order-summary dt {
	font-weight: 600;
}

.didaktovo-order-summary dd {
	margin: 0;
	text-align: right;
}

.didaktovo-order-summary__items {
	margin: 18px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid #edf0f6;
	list-style: none;
}

@media (max-width: 600px) {
	.didaktovo-order-summary {
		padding: 22px 20px;
	}

	.didaktovo-order-summary dl > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.didaktovo-order-summary dd {
		text-align: left;
	}
}

.didaktovo-withdrawal-reason textarea {
	min-height: 120px;
}

@media (max-width: 767px) {
	.pxl-site-logo img,
	.pxl-header-logo img,
	header .site-logo img {
		width: 106px !important;
		max-width: 106px !important;
	}

	.woocommerce-cart-form .quantity,
	.woocommerce-checkout .quantity,
	.woocommerce-cart-form input.qty,
	.woocommerce-checkout input.qty {
		flex-basis: 112px !important;
		min-width: 112px !important;
		width: 112px !important;
		padding-right: 30px !important;
		padding-left: 30px !important;
	}
}

/* Follow-up fixes: cart/checkout/hero – September 2026 */
#company_details_field {
	display: flex !important;
	align-items: center !important;
	min-height: 54px;
}

#company_details_field .woocommerce-input-wrapper {
	display: block !important;
	width: 100% !important;
}

#company_details_field label.checkbox {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	min-height: 22px;
	margin: 0 !important;
	line-height: 1.45 !important;
}

#company_details_field #company_details,
#company_details_field input[name="company_details"] {
	position: static !important;
	display: block !important;
	flex: 0 0 22px !important;
	margin: 0 9px 0 0 !important;
	vertical-align: middle !important;
}

.woocommerce-checkout .woocommerce-checkout-billing > #ship-to-different-address {
	margin: 18px 0 4px !important;
}

.woocommerce-checkout .woocommerce-checkout-billing > #ship-to-different-address > label {
	display: flex !important;
	align-items: center !important;
	gap: 10px;
}

.didaktovo-hero::before {
	display: none !important;
	content: none !important;
}

/* Follow-up fixes v3: legal headings and top bar – September 2026 */
.didaktovo-legal .legal-section-number {
	display: inline-block !important;
	margin: 24px 7px 10px 0 !important;
	font-size: 30px !important;
	line-height: 1.3125 !important;
	vertical-align: baseline !important;
}

.didaktovo-legal .legal-section-number + h4 {
	display: inline !important;
	margin: 0 !important;
}

.didaktovo-legal .legal-section-number + h4::after {
	content: "";
	display: block;
	margin-bottom: 10px;
}

.elementor-element[data-id="4e8a130"][data-widget_type="pxl_divider.default"] {
	display: none !important;
}

@media (max-width: 767px) {
	.didaktovo-legal .legal-section-number {
		font-size: 22px !important;
		line-height: 1.3125 !important;
	}
}
