.woocommerce-main { padding-block: clamp(44px,7vw,88px); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto !important; margin: 0 !important; padding: 0 0 20px; overflow: hidden; background: #fff; border: 1px solid var(--np-border); border-radius: var(--np-radius); }
.woocommerce ul.products li.product a img { margin: 0 0 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-right: 18px; margin-left: 18px; }
.woocommerce ul.products li.product .price { color: var(--np-accent); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { padding: 12px 18px; background: var(--np-accent); color: var(--np-secondary); border-radius: var(--np-radius); font-family: var(--np-button-font); font-size: var(--np-button-size); font-weight: var(--np-button-weight); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--np-accent); color: #fff; opacity: .86; }
.woocommerce span.onsale { min-width: 48px; min-height: 48px; display: grid; place-items: center; background: var(--np-accent); }
.woocommerce div.product div.images img { border-radius: var(--np-radius); }
.woocommerce div.product .product_title { font-size: clamp(2rem,4vw,3rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--np-accent); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--np-accent); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--np-accent); }
@media(max-width:1024px){.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.woocommerce ul.products{grid-template-columns:1fr}}

/* =========================================================
   Kios Store Modern Checkout
   ========================================================= */
body.np-modern-checkout .site-main {
	padding-block: clamp(28px, 4vw, 56px);
}
body.np-modern-checkout .content-layout {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0;
}
body.np-modern-checkout .widget-area,
body.np-modern-checkout .entry-header,
body.np-modern-checkout .breadcrumbs,
body.np-modern-checkout .breadcrumb,
body.np-modern-checkout .woocommerce-breadcrumb {
	display: none !important;
}
body.np-modern-checkout .entry-single,
body.np-modern-checkout .content-area,
body.np-modern-checkout .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
}
body.np-modern-checkout main.np-container {
	width: min(calc(100% - 40px), 1080px);
}

/* Checkout notifications */
body.np-modern-checkout .woocommerce-NoticeGroup,
body.np-modern-checkout .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}
body.np-modern-checkout .woocommerce-error,
body.np-modern-checkout .woocommerce-info,
body.np-modern-checkout .woocommerce-message {
	margin: 0 0 20px;
	border: 1px solid #eadfd6;
	border-top-width: 1px;
	border-radius: 8px;
	background: #fffaf6;
	box-shadow: none;
}

/* Two-column checkout inspired by the supplied reference. */
body.np-modern-checkout form.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
	grid-template-areas:
		"customer heading"
		"customer review";
	column-gap: clamp(28px, 4vw, 48px);
	row-gap: 0;
	align-items: start;
	max-width: 1040px;
	margin-inline: auto;
}
body.np-modern-checkout #customer_details {
	grid-area: customer;
	width: 100%;
	float: none;
}
body.np-modern-checkout #order_review_heading {
	grid-area: heading;
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--np-body-font);
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	line-height: 1.25;
	color: #181512;
}
body.np-modern-checkout #order_review {
	grid-area: review;
	width: 100%;
	float: none;
	padding: clamp(16px, 2vw, 22px);
	border: 1px solid #eee5de;
	border-radius: 8px;
	background: #f8f4ef;
	box-shadow: 0 12px 35px rgba(65, 48, 37, .05);
}
body.np-modern-checkout #customer_details .col-1,
body.np-modern-checkout #customer_details .col-2 {
	float: none;
	width: 100%;
}
body.np-modern-checkout #customer_details .col-2 {
	margin-top: 18px;
}
body.np-modern-checkout .woocommerce-billing-fields > h3,
body.np-modern-checkout .woocommerce-shipping-fields > h3,
body.np-modern-checkout .woocommerce-additional-fields > h3 {
	margin: 0 0 18px;
	font-family: var(--np-body-font);
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	line-height: 1.25;
	color: #181512;
}

/* Field grid. Third-party Indonesian location plugins are left intact and
   district/kecamatan fields are recognised by common IDs/classes. */
body.np-modern-checkout .woocommerce-billing-fields__field-wrapper,
body.np-modern-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}
body.np-modern-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
body.np-modern-checkout .woocommerce-shipping-fields__field-wrapper > .form-row {
	grid-column: 1 / -1;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.np-modern-checkout #billing_first_name_field,
body.np-modern-checkout #billing_last_name_field,
body.np-modern-checkout #shipping_first_name_field,
body.np-modern-checkout #shipping_last_name_field {
	grid-column: span 3;
}
body.np-modern-checkout #billing_state_field,
body.np-modern-checkout #billing_city_field,
body.np-modern-checkout #billing_postcode_field,
body.np-modern-checkout #shipping_state_field,
body.np-modern-checkout #shipping_city_field,
body.np-modern-checkout #shipping_postcode_field,
body.np-modern-checkout .form-row[id*="district"],
body.np-modern-checkout .form-row[id*="subdistrict"],
body.np-modern-checkout .form-row[id*="kecamatan"],
body.np-modern-checkout .form-row[class*="district"],
body.np-modern-checkout .form-row[class*="subdistrict"],
body.np-modern-checkout .form-row[class*="kecamatan"] {
	grid-column: span 2;
}
body.np-modern-checkout .form-row label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	color: #5f554f;
}
body.np-modern-checkout .form-row .required {
	color: #dc5a43;
}
body.np-modern-checkout .form-row input.input-text,
body.np-modern-checkout .form-row textarea,
body.np-modern-checkout .form-row select,
body.np-modern-checkout .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	margin: 0;
	border: 1px solid #e5ded8;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	font-family: var(--np-body-font);
	font-size: 13px;
	color: #332d29;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
body.np-modern-checkout .form-row input.input-text,
body.np-modern-checkout .form-row select {
	padding: 0 13px;
}
body.np-modern-checkout .form-row textarea {
	min-height: 98px;
	padding: 12px 13px;
	resize: vertical;
}
body.np-modern-checkout .form-row input.input-text:focus,
body.np-modern-checkout .form-row textarea:focus,
body.np-modern-checkout .form-row select:focus,
body.np-modern-checkout .select2-container--open .select2-selection--single {
	outline: none;
	border-color: var(--np-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--np-accent) 12%, transparent);
}
body.np-modern-checkout .select2-container {
	width: 100% !important;
}
body.np-modern-checkout .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 36px 0 13px;
}
body.np-modern-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: normal;
	color: #332d29;
}
body.np-modern-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 9px;
	transform: translateY(-50%);
}
body.np-modern-checkout .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

/* Ship-to-different-address toggle */
body.np-modern-checkout #ship-to-different-address {
	margin: 4px 0 16px;
	font-family: var(--np-body-font);
	font-size: 13px;
	font-weight: 600;
}
body.np-modern-checkout #ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
body.np-modern-checkout #ship-to-different-address-checkbox {
	width: 18px;
	height: 18px;
	accent-color: var(--np-accent);
}
body.np-modern-checkout .woocommerce-additional-fields {
	margin-top: 16px;
}

/* Order review card */
body.np-modern-checkout table.shop_table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
}
body.np-modern-checkout table.shop_table thead {
	display: none;
}
body.np-modern-checkout table.shop_table th,
body.np-modern-checkout table.shop_table td {
	padding: 12px 12px;
	border: 0;
	border-bottom: 1px solid #eee6df;
	font-size: 13px;
	vertical-align: middle;
}
body.np-modern-checkout table.shop_table tr:last-child th,
body.np-modern-checkout table.shop_table tr:last-child td {
	border-bottom: 0;
}
body.np-modern-checkout table.shop_table th {
	font-weight: 600;
	color: #665a53;
}
body.np-modern-checkout table.shop_table td {
	text-align: right;
	color: #332d29;
}
body.np-modern-checkout table.shop_table .product-name {
	text-align: left;
}
body.np-modern-checkout .np-checkout-product-line {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}
body.np-modern-checkout .np-checkout-product-image {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	padding: 4px;
	border: 1px solid #eee5de;
	border-radius: 6px;
	background: #fff;
}
body.np-modern-checkout .np-checkout-product-thumb {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
	border-radius: 4px;
}
body.np-modern-checkout .np-checkout-product-name {
	min-width: 0;
	font-weight: 600;
	line-height: 1.45;
	color: #2d2824;
}
body.np-modern-checkout table.shop_table .cart-subtotal th,
body.np-modern-checkout table.shop_table .cart-subtotal td,
body.np-modern-checkout table.shop_table .woocommerce-shipping-totals th,
body.np-modern-checkout table.shop_table .woocommerce-shipping-totals td {
	padding-top: 13px;
	padding-bottom: 13px;
}
body.np-modern-checkout table.shop_table .order-total th,
body.np-modern-checkout table.shop_table .order-total td {
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 15px;
	font-weight: 700;
	color: #2c2723;
}
body.np-modern-checkout ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.np-modern-checkout ul#shipping_method li {
	margin: 6px 0;
}
body.np-modern-checkout ul#shipping_method input[type="radio"] {
	accent-color: var(--np-accent);
}

/* Coupon + payment */
body.np-modern-checkout .woocommerce-form-coupon-toggle {
	margin: 0 auto 18px;
	max-width: 1040px;
}
body.np-modern-checkout form.checkout_coupon {
	margin: 0 auto 20px;
	max-width: 1040px;
	border: 1px dashed #e3d8cf;
	border-radius: 7px;
	background: #fffaf6;
}
body.np-modern-checkout #payment {
	margin-top: 18px;
	border-radius: 6px;
	background: transparent;
}
body.np-modern-checkout #payment ul.payment_methods {
	padding: 14px 0;
	border-bottom: 0;
}
body.np-modern-checkout #payment ul.payment_methods li {
	margin-bottom: 10px;
	font-size: 13px;
}
body.np-modern-checkout #payment div.payment_box {
	margin: 8px 0 12px;
	padding: 14px;
	border: 1px solid #eee5de;
	border-radius: 6px;
	background: #fff;
	font-size: 12px;
	line-height: 1.6;
	color: #655b55;
}
body.np-modern-checkout #payment div.payment_box::before {
	display: none;
}
body.np-modern-checkout #payment .place-order {
	padding: 16px 0 0;
}
body.np-modern-checkout #payment #place_order {
	float: none;
	width: 100%;
	min-height: 48px;
	margin: 0;
	border: 1px solid var(--np-accent);
	border-radius: 6px;
	background: var(--np-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .01em;
}
body.np-modern-checkout #payment #place_order:hover {
	filter: brightness(.92);
	opacity: 1;
}
body.np-modern-checkout .woocommerce-privacy-policy-text,
body.np-modern-checkout .woocommerce-terms-and-conditions-wrapper {
	font-size: 11px;
	line-height: 1.6;
	color: #776c65;
}

/* WooCommerce Blocks fallback styling. If another plugin prevents the classic
   compatibility renderer, the block checkout still follows the same visual UI. */
body.np-modern-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	max-width: 1040px;
	margin-inline: auto;
}
body.woocommerce-checkout .wc-block-checkout {
	gap: clamp(28px, 4vw, 48px);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	padding: clamp(16px, 2vw, 22px);
	border: 1px solid #eee5de;
	border-radius: 8px;
	background: #f8f4ef;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-address-form select {
	border-radius: 6px !important;
	border-color: #e5ded8 !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	border-radius: 6px;
	background: var(--np-accent);
	color: #fff;
}

@media (max-width: 900px) {
	body.np-modern-checkout form.woocommerce-checkout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"customer"
			"heading"
			"review";
		row-gap: 24px;
	}
	body.np-modern-checkout #order_review_heading {
		margin-bottom: -10px;
	}
	body.np-modern-checkout #order_review {
		position: static;
	}
}

@media (max-width: 640px) {
	body.np-modern-checkout main.np-container {
		width: min(calc(100% - 28px), 1080px);
	}
	body.np-modern-checkout .site-main {
		padding-block: 24px 36px;
	}
	body.np-modern-checkout .woocommerce-billing-fields__field-wrapper,
	body.np-modern-checkout .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: 1fr;
		gap: 11px;
	}
	body.np-modern-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
	body.np-modern-checkout .woocommerce-shipping-fields__field-wrapper > .form-row,
	body.np-modern-checkout #billing_first_name_field,
	body.np-modern-checkout #billing_last_name_field,
	body.np-modern-checkout #shipping_first_name_field,
	body.np-modern-checkout #shipping_last_name_field,
	body.np-modern-checkout #billing_state_field,
	body.np-modern-checkout #billing_city_field,
	body.np-modern-checkout #billing_postcode_field,
	body.np-modern-checkout #shipping_state_field,
	body.np-modern-checkout #shipping_city_field,
	body.np-modern-checkout #shipping_postcode_field,
	body.np-modern-checkout .form-row[id*="district"],
	body.np-modern-checkout .form-row[id*="subdistrict"],
	body.np-modern-checkout .form-row[id*="kecamatan"] {
		grid-column: 1;
	}
	body.np-modern-checkout #order_review {
		padding: 14px;
	}
	body.np-modern-checkout .np-checkout-product-image {
		flex-basis: 54px;
		width: 54px;
		height: 54px;
	}
}


/* v1.8.9: Native Checkout Block safe styling - no runtime conversion. */
body.np-modern-checkout .wc-block-checkout {
	max-width: 1040px;
	margin: 0 auto;
	gap: 28px;
}
body.np-modern-checkout .wc-block-checkout__main {
	min-width: 0;
}
body.np-modern-checkout .wc-block-checkout__sidebar {
	background: #f7f4ef;
	border: 1px solid rgba(75, 52, 37, .10);
	border-radius: 10px;
	padding: 22px;
	align-self: start;
}
body.np-modern-checkout .wc-block-components-checkout-step {
	margin-bottom: 20px;
}
body.np-modern-checkout .wc-block-components-checkout-step__heading {
	margin-bottom: 12px;
}
body.np-modern-checkout .wc-block-components-checkout-step__title {
	font-size: 20px;
	line-height: 1.3;
}
body.np-modern-checkout .wc-block-components-text-input input,
body.np-modern-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.np-modern-checkout .wc-block-components-address-form select {
	min-height: 48px;
	border-radius: 7px;
}
body.np-modern-checkout .wc-block-components-order-summary {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}
body.np-modern-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 50px;
	border-radius: 7px;
}
@media (max-width: 781px) {
	body.np-modern-checkout .wc-block-checkout {
		display: block;
	}
	body.np-modern-checkout .wc-block-checkout__sidebar {
		margin-top: 22px;
		padding: 16px;
	}
}

/* =========================================================
   Kios Store v1.9.0 - Clean Cart & Shipping Calculator
   Keeps WooCommerce markup intact and fixes mobile stacking.
   ========================================================= */
body.woocommerce-cart .site-main {
	padding-block: clamp(28px, 4vw, 56px);
}
body.woocommerce-cart .content-layout {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 0;
}
body.woocommerce-cart .widget-area,
body.woocommerce-cart .breadcrumbs,
body.woocommerce-cart .breadcrumb,
body.woocommerce-cart .woocommerce-breadcrumb {
	display: none !important;
}
body.woocommerce-cart .entry-single,
body.woocommerce-cart .content-area,
body.woocommerce-cart .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
}
body.woocommerce-cart main.np-container {
	width: min(calc(100% - 36px), 1180px);
}
body.woocommerce-cart .entry-title {
	margin: 0 0 28px;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.05;
}

/* Notices */
body.woocommerce-cart .woocommerce-notices-wrapper {
	margin-bottom: 22px;
}
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
	margin: 0 0 18px;
	padding: 15px 18px 15px 48px;
	border: 1px solid #eadfd6;
	border-top: 3px solid var(--np-accent);
	border-radius: 8px;
	background: #fbf9f7;
	box-shadow: none;
	font-size: 14px;
	line-height: 1.55;
}
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
	top: 16px;
	left: 18px;
}

/* Cart table */
body.woocommerce-cart table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table {
	border: 1px solid #e6e0db;
	border-radius: 10px;
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
	padding: 16px 18px;
	border-color: #ece7e3;
	vertical-align: middle;
}
body.woocommerce-cart table.shop_table thead th {
	background: #faf8f6;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #5c514b;
}
body.woocommerce-cart table.shop_table .product-thumbnail img {
	width: 72px;
	border-radius: 8px;
	background: #f7f5f2;
}
body.woocommerce-cart table.shop_table .product-name a {
	font-weight: 700;
	color: #2d2825;
}
body.woocommerce-cart table.shop_table .product-remove a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 23px;
	line-height: 1;
	color: #b42318 !important;
	background: #fff4f2;
}
body.woocommerce-cart table.shop_table .product-remove a:hover {
	background: #b42318;
	color: #fff !important;
}
body.woocommerce-cart .quantity .qty {
	width: 78px;
	min-height: 46px;
	padding: 8px;
	border: 1px solid #ddd6d1;
	border-radius: 7px;
	background: #fff;
	text-align: center;
}

/* Coupon + cart actions */
body.woocommerce-cart table.shop_table td.actions {
	padding: 16px;
	background: #fbfaf8;
}
body.woocommerce-cart table.shop_table td.actions .coupon {
	display: flex;
	align-items: stretch;
	gap: 10px;
}
body.woocommerce-cart table.shop_table td.actions .coupon .input-text {
	width: min(260px, 100%);
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid #dcd4ce;
	border-radius: 7px;
	background: #fff;
	font-size: 14px;
}
body.woocommerce-cart table.shop_table td.actions .button,
body.woocommerce-cart .cart_totals .button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart button[name="calc_shipping"] {
	min-height: 46px;
	border: 0;
	border-radius: 7px;
	background: var(--np-accent) !important;
	color: #fff !important;
	font-weight: 700;
	box-shadow: none;
}
body.woocommerce-cart table.shop_table td.actions .button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart button[name="calc_shipping"]:hover {
	opacity: .88;
}
body.woocommerce-cart table.shop_table td.actions .button:disabled,
body.woocommerce-cart table.shop_table td.actions .button.disabled {
	background: #ddd3cc !important;
	color: #8b817a !important;
	opacity: 1;
}

/* Totals / shipping calculator */
body.woocommerce-cart .cart-collaterals {
	margin-top: 34px;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
	float: right;
	width: min(100%, 560px);
}
body.woocommerce-cart .cart_totals > h2 {
	margin: 0 0 18px;
	font-size: clamp(30px, 3vw, 40px);
	line-height: 1.15;
}
body.woocommerce-cart .cart_totals table.shop_table th {
	width: 34%;
	font-weight: 700;
	color: #39312d;
}
body.woocommerce-cart .cart_totals table.shop_table td {
	text-align: right;
	color: #39312d;
}
body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
	line-height: 1.55;
}
body.woocommerce-cart .cart_totals ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.woocommerce-cart .cart_totals ul#shipping_method li {
	margin: 0 0 8px;
}
body.woocommerce-cart .woocommerce-shipping-destination {
	margin: 8px 0;
	font-size: 13px;
	color: #71665f;
}
body.woocommerce-cart .shipping-calculator-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-weight: 600;
	color: var(--np-accent);
}
body.woocommerce-cart .shipping-calculator-form {
	margin-top: 14px;
	padding: 16px;
	border: 1px solid #e5ded8;
	border-radius: 8px;
	background: #faf8f6;
	text-align: left;
}
body.woocommerce-cart .shipping-calculator-form .form-row {
	margin: 0 0 11px;
	padding: 0;
}
body.woocommerce-cart .shipping-calculator-form .form-row:last-of-type {
	margin-bottom: 12px;
}
body.woocommerce-cart .shipping-calculator-form input.input-text,
body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-cart .shipping-calculator-form .select2-container .select2-selection--single {
	width: 100% !important;
	min-height: 48px;
	border: 1px solid #dcd4ce;
	border-radius: 7px;
	background: #fff;
	font-size: 14px;
	box-shadow: none;
}
body.woocommerce-cart .shipping-calculator-form input.input-text,
body.woocommerce-cart .shipping-calculator-form select {
	padding: 0 13px;
}
body.woocommerce-cart .shipping-calculator-form .select2-container {
	width: 100% !important;
}
body.woocommerce-cart .shipping-calculator-form .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 36px 0 13px;
}
body.woocommerce-cart .shipping-calculator-form .select2-selection__rendered {
	padding: 0 !important;
	line-height: normal !important;
}
body.woocommerce-cart .shipping-calculator-form button[name="calc_shipping"] {
	width: 100%;
	margin: 0;
}
body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 18px 0 0;
}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 15px 20px;
	font-size: 15px;
}

@media (max-width: 767px) {
	body.woocommerce-cart main.np-container {
		width: min(calc(100% - 28px), 1180px);
	}
	body.woocommerce-cart .site-main {
		padding-block: 24px 36px;
	}
	body.woocommerce-cart .entry-title {
		margin-bottom: 20px;
		font-size: 38px;
	}
	body.woocommerce-cart .woocommerce-message,
	body.woocommerce-cart .woocommerce-info,
	body.woocommerce-cart .woocommerce-error {
		padding: 13px 14px 13px 42px;
		font-size: 13px;
	}
	body.woocommerce-cart .woocommerce-message::before,
	body.woocommerce-cart .woocommerce-info::before,
	body.woocommerce-cart .woocommerce-error::before {
		left: 14px;
		top: 14px;
	}

	/* Override WooCommerce's cramped mobile table layout. */
	body.woocommerce-cart table.shop_table_responsive,
	body.woocommerce-cart table.shop_table_responsive tbody,
	body.woocommerce-cart table.shop_table_responsive tr,
	body.woocommerce-cart table.shop_table_responsive td {
		display: block;
		width: 100%;
	}
	body.woocommerce-cart table.shop_table_responsive thead {
		display: none;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item {
		position: relative;
		margin: 0;
		padding: 12px 14px;
		border: 0;
		border-bottom: 10px solid #f7f4f1;
		background: #fff;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item:last-child {
		border-bottom-width: 0;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item td {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		min-height: 50px;
		padding: 12px 0 !important;
		border: 0;
		border-bottom: 1px solid #eee9e5;
		text-align: right !important;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item td:last-child {
		border-bottom: 0;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item td::before {
		float: none !important;
		margin: 0;
		font-size: 13px;
		font-weight: 700;
		color: #403832;
		text-align: left;
		content: attr(data-title);
	}
	body.woocommerce-cart table.shop_table_responsive td.product-remove {
		position: absolute;
		top: 10px;
		right: 12px;
		z-index: 2;
		display: block !important;
		width: auto;
		min-height: 0;
		padding: 0 !important;
		border: 0 !important;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-remove::before,
	body.woocommerce-cart table.shop_table_responsive td.product-thumbnail::before {
		display: none;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-thumbnail {
		display: none !important;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-name {
		padding-right: 48px !important;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-name a {
		max-width: 68%;
		text-align: right;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-quantity .quantity {
		margin-left: auto;
	}
	body.woocommerce-cart table.shop_table_responsive td.product-subtotal {
		font-weight: 700;
	}

	body.woocommerce-cart table.shop_table td.actions {
		display: block !important;
		padding: 14px !important;
		text-align: left !important;
	}
	body.woocommerce-cart table.shop_table td.actions::before {
		display: none !important;
	}
	body.woocommerce-cart table.shop_table td.actions .coupon {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(130px, .9fr);
		gap: 10px;
		width: 100%;
	}
	body.woocommerce-cart table.shop_table td.actions .coupon .input-text,
	body.woocommerce-cart table.shop_table td.actions .coupon .button {
		width: 100% !important;
		margin: 0 !important;
	}
	body.woocommerce-cart table.shop_table td.actions > .button {
		width: 100% !important;
		margin-top: 10px !important;
	}

	body.woocommerce-cart .cart-collaterals {
		margin-top: 28px;
	}
	body.woocommerce-cart .cart-collaterals .cart_totals {
		float: none;
		width: 100%;
	}
	body.woocommerce-cart .cart_totals > h2 {
		font-size: 34px;
	}
	body.woocommerce-cart .cart_totals table.shop_table,
	body.woocommerce-cart .cart_totals table.shop_table tbody,
	body.woocommerce-cart .cart_totals table.shop_table tr,
	body.woocommerce-cart .cart_totals table.shop_table th,
	body.woocommerce-cart .cart_totals table.shop_table td {
		display: block;
		width: 100% !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table tr {
		padding: 14px;
		border-bottom: 1px solid #ece7e3;
	}
	body.woocommerce-cart .cart_totals table.shop_table tr:last-child {
		border-bottom: 0;
	}
	body.woocommerce-cart .cart_totals table.shop_table th,
	body.woocommerce-cart .cart_totals table.shop_table td {
		padding: 0 !important;
		border: 0;
		text-align: left !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table th {
		margin-bottom: 7px;
		font-size: 13px;
		line-height: 1.35;
	}
	body.woocommerce-cart .cart_totals table.shop_table td {
		font-size: 14px;
		line-height: 1.55;
	}
	body.woocommerce-cart .cart_totals .cart-subtotal td,
	body.woocommerce-cart .cart_totals .order-total td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 20px;
		font-weight: 700;
	}
	body.woocommerce-cart .cart_totals .woocommerce-shipping-totals td {
		padding-top: 2px !important;
	}
	body.woocommerce-cart .shipping-calculator-button {
		display: flex;
		justify-content: flex-start;
		width: fit-content;
		margin: 12px 0 0;
	}
	body.woocommerce-cart .shipping-calculator-form {
		margin-top: 12px;
		padding: 14px;
	}
	body.woocommerce-cart .shipping-calculator-form .form-row,
	body.woocommerce-cart .shipping-calculator-form p {
		text-align: left !important;
	}
	body.woocommerce-cart .shipping-calculator-form input,
	body.woocommerce-cart .shipping-calculator-form select,
	body.woocommerce-cart .shipping-calculator-form .select2-container {
		text-align: left !important;
	}
}

@media (max-width: 420px) {
	body.woocommerce-cart main.np-container {
		width: min(calc(100% - 22px), 1180px);
	}
	body.woocommerce-cart table.shop_table td.actions .coupon {
		grid-template-columns: 1fr;
	}
	body.woocommerce-cart table.shop_table_responsive tr.cart_item {
		padding-inline: 12px;
	}
}


/* =========================================================
   Kios Store 1.9.2 - WooCommerce catalogue & responsive fix
   Removes blog-sidebar artefacts and normalises desktop/tablet/mobile layouts.
   ========================================================= */
body.woocommerce .woocommerce-main,
body.woocommerce-page .woocommerce-main {
  width: min(calc(100% - 40px), var(--np-container));
  margin-inline: auto;
  padding-block: clamp(34px, 5vw, 64px);
}

/* Shop/product pages are full-width commerce surfaces, never blog sidebars. */
body.woocommerce .woocommerce-main + .widget-area,
body.woocommerce-page .woocommerce-main + .widget-area,
body.post-type-archive-product #secondary,
body.tax-product_cat #secondary,
body.tax-product_tag #secondary,
body.single-product #secondary {
  display: none !important;
}

/* Catalogue heading / toolbar. */
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  margin: 0 0 26px;
}

body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

body.post-type-archive-product .term-description,
body.tax-product_cat .term-description,
body.tax-product_tag .term-description {
  max-width: 760px;
  margin: 0;
  color: var(--np-muted);
  font-size: 14px;
  line-height: 1.75;
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 22px;
  color: var(--np-muted);
  font-size: 12px;
  line-height: 1.5;
}

.woocommerce .woocommerce-result-count {
  margin: 10px 0 24px;
  color: var(--np-muted);
  font-size: 13px;
}

.woocommerce .woocommerce-ordering {
  margin: 0 0 24px;
}

.woocommerce .woocommerce-ordering select {
  min-width: 210px;
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  border: 1px solid var(--np-border);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
}

/* Product archive grid/cards. */
.woocommerce ul.products {
  clear: both;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0 0 38px;
}

.woocommerce ul.products li.product {
  min-width: 0;
  padding: 0 0 16px;
  border: 1px solid #ebe5df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(68,44,31,.035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(68,44,31,.08);
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  min-width: 0;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  object-fit: contain;
  background: #f7f3ef;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.9em;
  margin: 0 14px 6px;
  padding: 0;
  color: #2b231f;
  font-family: var(--np-body-font);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.woocommerce ul.products li.product .price {
  display: block;
  min-height: 1.6em;
  margin: 0 14px 12px;
  color: #4c403b;
  font-size: 12px;
  font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  width: calc(100% - 28px);
  min-height: 38px;
  margin: 0 14px;
  padding: 9px 10px;
  border-radius: 5px;
  text-align: center;
  line-height: 1.25;
}

.woocommerce ul.products li.product .added_to_cart {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid var(--np-accent);
  color: var(--np-accent);
  font-size: 11px;
  font-weight: 700;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 8px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--np-border);
  border-radius: 6px;
  background: #fff;
  color: var(--np-body-color);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  border-color: var(--np-accent);
  background: var(--np-accent);
  color: #fff;
}

/* Single product: stable two-column desktop, stacked on smaller screens. */
body.single-product .woocommerce-main > .product {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

body.single-product .woocommerce-main > .product > .woocommerce-product-gallery,
body.single-product .woocommerce-main > .product > .summary {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

body.single-product .woocommerce-main > .product > .woocommerce-tabs,
body.single-product .woocommerce-main > .product > .related,
body.single-product .woocommerce-main > .product > .upsells {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

body.single-product .woocommerce-main .summary .product_title {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

body.single-product .woocommerce-main .summary p.price {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.5vw, 28px);
}

body.single-product .woocommerce-main .summary .cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 22px 0;
}

body.single-product .woocommerce-main .summary .quantity .qty {
  width: 82px;
  min-height: 46px;
  border-radius: 6px;
  text-align: center;
}

body.single-product .woocommerce-main .summary .single_add_to_cart_button {
  min-height: 46px;
  padding-inline: 22px;
}

body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 24px !important;
  padding: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--np-border) !important;
  border-radius: 6px !important;
  background: #fff !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
  border-color: var(--np-accent) !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 10px 16px !important;
  font-size: 12px;
}

/* My Account should also stay inside the viewport. */
body.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--np-border);
  border-radius: 8px;
  list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 11px 14px;
  border-bottom: 1px solid var(--np-border);
  color: var(--np-body-color);
  font-size: 13px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a {
  border-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: color-mix(in srgb, var(--np-accent) 8%, #fff);
  color: var(--np-accent);
  font-weight: 700;
}

@media (max-width: 1024px) {
  body.woocommerce .woocommerce-main,
  body.woocommerce-page .woocommerce-main {
    width: min(calc(100% - 32px), var(--np-container));
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  body.single-product .woocommerce-main > .product {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .92fr);
    gap: 32px;
  }
}

@media (max-width: 782px) {
  body.woocommerce .woocommerce-main,
  body.woocommerce-page .woocommerce-main {
    width: min(calc(100% - 28px), var(--np-container));
    padding-block: 28px 40px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: 100%;
  }

  .woocommerce .woocommerce-result-count {
    margin-bottom: 10px;
  }

  .woocommerce .woocommerce-ordering {
    margin-bottom: 20px;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-inline: 10px;
    font-size: 12px;
  }

  .woocommerce ul.products li.product .price {
    margin: 0 10px 10px;
    font-size: 11px;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart {
    width: calc(100% - 20px);
    min-height: 36px;
    margin-inline: 10px;
    padding-inline: 7px;
    font-size: 10px;
  }

  body.single-product .woocommerce-main > .product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.single-product .woocommerce-main > .product > .woocommerce-tabs,
  body.single-product .woocommerce-main > .product > .related,
  body.single-product .woocommerce-main > .product > .upsells {
    grid-column: auto;
  }

  body.woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 480px) {
  body.woocommerce .woocommerce-main,
  body.woocommerce-page .woocommerce-main {
    width: min(calc(100% - 24px), var(--np-container));
  }

  body.post-type-archive-product .woocommerce-products-header__title,
  body.tax-product_cat .woocommerce-products-header__title,
  body.tax-product_tag .woocommerce-products-header__title {
    font-size: 34px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .woocommerce ul.products li.product {
    padding-bottom: 10px;
    border-radius: 6px;
  }

  .woocommerce ul.products li.product a img {
    margin-bottom: 9px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 3em;
    margin-inline: 8px;
    font-size: 11px;
    line-height: 1.4;
  }

  .woocommerce ul.products li.product .price {
    margin: 0 8px 8px;
    font-size: 10px;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart {
    width: calc(100% - 16px);
    min-height: 34px;
    margin-inline: 8px;
    font-size: 9px;
  }

  body.single-product .woocommerce-main .summary .product_title {
    font-size: 32px;
  }

  body.single-product .woocommerce-main .summary .cart {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  body.single-product .woocommerce-main .summary .single_add_to_cart_button {
    width: 100%;
    min-width: 0;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.single-product .woocommerce-tabs ul.tabs li,
  body.single-product .woocommerce-tabs ul.tabs li a {
    width: 100%;
  }
}


/* =========================================================
   Kios Store 1.9.5 - Product catalogue spacing refinement
   Uses Theme Settings columns/gap on native WooCommerce archives too.
   ========================================================= */
body.post-type-archive-product .woocommerce-main,
body.tax-product_cat .woocommerce-main,
body.tax-product_tag .woocommerce-main {
  padding-top: clamp(24px, 3.5vw, 42px);
  padding-bottom: clamp(38px, 5vw, 58px);
}

body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  margin-bottom: 18px;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 16px;
}

.woocommerce .woocommerce-result-count {
  margin-top: 7px;
  margin-bottom: 18px;
  line-height: 42px;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 18px;
}

/* Keep archive spacing in sync with Theme Settings instead of a separate
   hard-coded grid. This also fixes overly wide/narrow gaps after updates. */
.woocommerce ul.products {
  grid-template-columns: repeat(var(--np-product-columns-desktop, 4), minmax(0, 1fr));
  gap: clamp(10px, var(--np-product-card-gap, 18px), 28px);
  align-items: stretch;
  margin-top: 0;
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 12px;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.woocommerce ul.products li.product a img {
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  margin: 0 12px 4px;
  line-height: 1.38;
}

.woocommerce ul.products li.product .price {
  min-height: 0;
  margin: 0 12px 8px;
  line-height: 1.35;
}

/* Native button and custom Theme Settings CTA use the same horizontal inset. */
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > .added_to_cart,
.woocommerce ul.products li.product .np-store-product-actions {
  width: calc(100% - 24px);
  margin-right: 12px;
  margin-left: 12px;
}

.woocommerce ul.products li.product .np-store-product-actions {
  margin-top: 6px;
  margin-bottom: 0;
}

.woocommerce ul.products li.product .np-store-product-actions.is-full .np-card-cta,
.woocommerce ul.products li.product .np-store-product-actions.is-both .np-card-cta {
  min-width: 0;
}

.woocommerce ul.products li.product .added_to_cart {
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(var(--np-product-columns-tablet, 3), minmax(0, 1fr));
    gap: clamp(10px, var(--np-product-card-gap, 18px), 22px);
  }
}

@media (max-width: 782px) {
  body.post-type-archive-product .woocommerce-main,
  body.tax-product_cat .woocommerce-main,
  body.tax-product_tag .woocommerce-main {
    padding-top: 22px;
    padding-bottom: 36px;
  }

  body.post-type-archive-product .woocommerce-products-header,
  body.tax-product_cat .woocommerce-products-header,
  body.tax-product_tag .woocommerce-products-header {
    margin-bottom: 14px;
  }

  .woocommerce .woocommerce-result-count {
    margin: 0 0 8px;
    line-height: 1.5;
  }

  .woocommerce .woocommerce-ordering {
    margin-bottom: 14px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(var(--np-product-columns-mobile, 2), minmax(0, 1fr));
    gap: clamp(8px, var(--np-product-card-gap, 12px), 16px);
  }

  .woocommerce ul.products li.product a img {
    margin-bottom: 8px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin: 0 9px 4px;
  }

  .woocommerce ul.products li.product .price {
    margin: 0 9px 7px;
  }

  .woocommerce ul.products li.product > .button,
  .woocommerce ul.products li.product > .added_to_cart,
  .woocommerce ul.products li.product .np-store-product-actions {
    width: calc(100% - 18px);
    margin-right: 9px;
    margin-left: 9px;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    gap: clamp(8px, var(--np-product-card-gap, 10px), 12px);
  }

  .woocommerce ul.products li.product {
    padding-bottom: 9px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin-inline: 8px;
    margin-bottom: 3px;
  }

  .woocommerce ul.products li.product .price {
    margin: 0 8px 6px;
  }

  .woocommerce ul.products li.product > .button,
  .woocommerce ul.products li.product > .added_to_cart,
  .woocommerce ul.products li.product .np-store-product-actions {
    width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }

  .woocommerce ul.products li.product .np-store-product-actions {
    margin-top: 5px;
  }
}


/* =========================================================
   Kios Store 1.9.6 - Catalogue card alignment & CTA cleanup
   Keeps image/title/price/action zones consistent even when a product has no
   price, and removes the excessive visual gaps in the archive header.
   ========================================================= */
body.post-type-archive-product .woocommerce-main,
body.tax-product_cat .woocommerce-main,
body.tax-product_tag .woocommerce-main {
  padding-top: clamp(18px, 2.4vw, 30px);
}

body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  margin-bottom: 12px;
}

body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
  margin-bottom: 4px;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 10px;
}

/* Result count + sorting form one compact toolbar line on desktop. */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-top: 0;
  margin-bottom: 14px;
}
.woocommerce .woocommerce-result-count {
  line-height: 40px;
}
.woocommerce .woocommerce-ordering select {
  min-height: 40px;
}

/* Grid rows stretch every card equally. */
.woocommerce ul.products {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.woocommerce ul.products li.product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding-bottom: 12px;
}

/*
 * WooCommerce's loop link normally contains image, title and (when available)
 * price. Explicit rows reserve the price zone even when price HTML is absent,
 * preventing buttons from jumping upward on products without a price.
 */
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: auto minmax(38px, auto) 24px;
  align-content: start;
}

.woocommerce ul.products li.product a img {
  display: block;
  aspect-ratio: 1 / 1;
  margin: 0 0 10px;
  padding: 8px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 38px;
  max-height: 38px;
  margin: 0 12px 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.woocommerce ul.products li.product .price {
  align-self: stretch;
  min-height: 24px;
  margin: 0 12px;
  line-height: 20px;
}

/* CTA always sits at card bottom. One non-purchasable product = one detail CTA. */
.woocommerce ul.products li.product .np-store-product-actions {
  margin-top: auto;
  padding-top: 8px;
}
.woocommerce ul.products li.product .np-store-product-actions.is-full .np-card-cta {
  width: 100%;
  flex: 1 1 100%;
}
.woocommerce ul.products li.product .np-card-cta {
  min-height: 36px;
  white-space: normal;
}

/* Avoid WooCommerce's AJAX "View cart" link breaking the card rhythm. */
.woocommerce ul.products li.product .added_to_cart {
  box-sizing: border-box;
}

@media (max-width: 782px) {
  body.post-type-archive-product .woocommerce-main,
  body.tax-product_cat .woocommerce-main,
  body.tax-product_tag .woocommerce-main {
    padding-top: 16px;
  }
  .woocommerce .woocommerce-result-count {
    line-height: 1.5;
  }
  .woocommerce ul.products li.product a.woocommerce-loop-product__link {
    grid-template-rows: auto minmax(34px, auto) 22px;
  }
  .woocommerce ul.products li.product a img {
    padding: 5px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 34px;
    max-height: 34px;
  }
  .woocommerce ul.products li.product .price {
    min-height: 22px;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products li.product .np-store-product-actions {
    padding-top: 6px;
  }
  .woocommerce ul.products li.product .np-card-cta {
    min-height: 34px;
  }
}


/* ==========================================================
   Kios Store 1.9.7 - Checkout/Form controls + Order Received
   ========================================================== */
body.np-modern-checkout .woocommerce,
body.np-modern-checkout .wp-block-woocommerce-checkout {
    max-width: var(--np-checkout-max-width, 1080px);
    margin-inline: auto;
}
body.np-modern-checkout form.woocommerce-checkout {
    grid-template-columns: var(--np-checkout-columns, minmax(0,58fr) minmax(320px,42fr));
    column-gap: var(--np-checkout-column-gap, 34px);
    row-gap: var(--np-checkout-section-gap, 24px);
}
body.np-modern-checkout .woocommerce-billing-fields__field-wrapper,
body.np-modern-checkout .woocommerce-shipping-fields__field-wrapper {
    gap: var(--np-checkout-field-gap, 14px);
}
body.np-modern-checkout .form-row { margin-bottom: 0; }
body.np-modern-checkout .form-row label {
    font-size: var(--np-checkout-label-size, 12px);
    margin-bottom: 7px;
}
body.np-modern-checkout .form-row input.input-text,
body.np-modern-checkout .form-row select,
body.np-modern-checkout .select2-container .select2-selection--single {
    min-height: var(--np-checkout-input-height, 48px);
    border-color: var(--np-checkout-border, #e8dfd7);
    border-radius: var(--np-checkout-input-radius, 6px);
}
body.np-modern-checkout .form-row textarea {
    border-color: var(--np-checkout-border, #e8dfd7);
    border-radius: var(--np-checkout-input-radius, 6px);
}
body.np-modern-checkout .form-row input.input-text:focus,
body.np-modern-checkout .form-row textarea:focus,
body.np-modern-checkout .form-row select:focus,
body.np-modern-checkout .select2-container--open .select2-selection--single {
    border-color: var(--np-checkout-focus, var(--np-accent));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--np-checkout-focus, var(--np-accent)) 12%, transparent);
}
body.np-modern-checkout .woocommerce-billing-fields > h3,
body.np-modern-checkout .woocommerce-shipping-fields > h3,
body.np-modern-checkout .woocommerce-additional-fields > h3,
body.np-modern-checkout #order_review_heading,
body.np-modern-checkout .wc-block-components-checkout-step__title {
    font-size: var(--np-checkout-title-size, 22px);
    line-height: 1.25;
}
body.np-modern-checkout #order_review,
body.np-modern-checkout .wc-block-checkout__sidebar {
    padding: clamp(16px,2.2vw,24px);
    border: 1px solid var(--np-checkout-border, #e8dfd7);
    border-radius: var(--np-checkout-card-radius, 10px);
    background: var(--np-checkout-order-bg, #faf7f3);
}
body.np-modern-checkout #payment #place_order,
body.np-modern-checkout .wc-block-components-checkout-place-order-button {
    min-height: var(--np-checkout-button-height, 50px);
    border-radius: var(--np-checkout-input-radius, 6px);
}
body.np-modern-checkout #shipping_method li,
body.np-modern-checkout .wc-block-components-radio-control-accordion-option {
    margin-block: 8px;
}

/* Order received / thank-you page */
body.np-order-received main.np-container,
body.np-order-received .entry-content,
body.np-order-received .woocommerce {
    width: min(calc(100% - 40px), var(--np-order-received-max-width, 940px));
    max-width: var(--np-order-received-max-width, 940px);
    margin-inline: auto;
}
body.np-order-received .entry-header,
body.np-order-received .breadcrumbs,
body.np-order-received .woocommerce-breadcrumb { display:none; }
body.np-order-received .woocommerce-order {
    display: grid;
    gap: var(--np-order-received-gap, 28px);
    padding-block: clamp(28px,5vw,60px);
}
body.np-order-received .woocommerce-notice--success,
body.np-order-received .woocommerce-thankyou-order-received {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--np-accent) 25%, #e8dfd7);
    border-radius: var(--np-order-received-card-radius, 10px);
    background: color-mix(in srgb, var(--np-accent) 5%, #fff);
    font-weight: 600;
}
body.np-order-received ul.woocommerce-order-overview {
    display:grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--np-checkout-border, #e8dfd7);
    border-radius: var(--np-order-received-card-radius, 10px);
    overflow: hidden;
    list-style: none;
}
body.np-order-received ul.woocommerce-order-overview li {
    float:none;
    margin:0;
    padding:14px 16px;
    border-right:1px solid var(--np-checkout-border, #e8dfd7);
    font-size:12px;
    line-height:1.5;
}
body.np-order-received ul.woocommerce-order-overview li:last-child { border-right:0; }
body.np-order-received ul.woocommerce-order-overview li strong { display:block; margin-top:4px; font-size:14px; }
body.np-order-received .woocommerce-bacs-bank-details,
body.np-order-received .woocommerce-order-details,
body.np-order-received .woocommerce-customer-details {
    margin:0;
    padding: clamp(18px,2.4vw,26px);
    border:1px solid var(--np-checkout-border, #e8dfd7);
    border-radius:var(--np-order-received-card-radius, 10px);
    background:#fff;
}
body.np-order-received .woocommerce-bacs-bank-details h2,
body.np-order-received .woocommerce-order-details h2,
body.np-order-received .woocommerce-customer-details h2 {
    margin:0 0 18px;
    font-size:clamp(22px,3vw,30px);
}
body.np-order-received .woocommerce-order-details table.shop_table {
    margin:0;
    border:1px solid var(--np-checkout-border, #e8dfd7);
    border-collapse:collapse;
    border-radius:8px;
    overflow:hidden;
}
body.np-order-received .woocommerce-order-details table.shop_table th,
body.np-order-received .woocommerce-order-details table.shop_table td {
    padding:var(--np-order-received-table-padding, 14px);
    border-color:var(--np-checkout-border, #e8dfd7);
    vertical-align:middle;
}
body.np-order-received .kiwa-customer-invoice { margin:18px 0 0; }
body.np-order-received .kiwa-customer-invoice .button {
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:6px;
    background:var(--np-accent);
    color:#fff;
    font-weight:700;
}
body.np-order-received .woocommerce-customer-details address {
    padding:16px 18px;
    border:1px solid var(--np-checkout-border, #e8dfd7);
    border-radius:8px;
    line-height:1.8;
}
@media(max-width:900px){
    body.np-modern-checkout form.woocommerce-checkout{grid-template-columns:1fr!important;}
    body.np-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr));}
    body.np-order-received ul.woocommerce-order-overview li:nth-child(2){border-right:0;}
    body.np-order-received ul.woocommerce-order-overview li:nth-child(-n+2){border-bottom:1px solid var(--np-checkout-border,#e8dfd7);}
}
@media(max-width:560px){
    body.np-order-received main.np-container,
    body.np-order-received .entry-content,
    body.np-order-received .woocommerce{width:min(calc(100% - 24px), var(--np-order-received-max-width,940px));}
    body.np-order-received ul.woocommerce-order-overview{grid-template-columns:1fr;}
    body.np-order-received ul.woocommerce-order-overview li{border-right:0!important;border-bottom:1px solid var(--np-checkout-border,#e8dfd7)!important;}
    body.np-order-received ul.woocommerce-order-overview li:last-child{border-bottom:0!important;}
}
