/*
 * Napelle redesign preview: WooCommerce pages that keep the Minimog templates
 * (cart, checkout, my account, wishlist) and the theme's 404 page. Styling only: markup, fields, payment
 * gateways and behaviour stay exactly as the theme renders them. cart.js adds a few labels (title, summary
 * heading, item eyebrows), accessible names and the 404 content.
 *
 * Every rule is scoped to one of these body classes, so nothing leaks to other preview pages:
 *   .woocommerce-cart  .woocommerce-checkout  .woocommerce-account  .page-id-15 / .np-wishlist-page  .error404
 *
 * 1. Page shell (container, title, notices)   2. Form fields (shared)   3. Cart items
 * 4. Cart summary   5. Empty cart   6. Checkout   7. Payment methods   8. My account
 * 9. Wishlist   10. Theme modals (order note)   11. Tablet / phone   12. 404 page
 */

/* 1. Page shell -------------------------------------------------------------------------------- */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) {
	--np-field-line: #948D80;
	--np-row-line: #E4DDD0;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .site {
	min-height: 0; /* the theme stretches .site to 100vh, which pushed the new footer a full screen down */
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-title-bar,
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .page-title-bar,
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .page-breadcrumb {
	display: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content {
	margin: 0;
	padding: 56px 0 96px;
	background: var(--np-bg);
	color: var(--np-ink);
	font-family: var(--np-sans);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content > .container {
	width: 100%;
	max-width: var(--np-container);
	margin-inline: auto;
	padding-inline: var(--np-gutter);
	box-sizing: border-box;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content > .container > .row {
	margin-inline: 0;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-main-content {
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	padding-inline: 0;
}

/* The theme only prints a screen-reader h1: shown as the Playfair page title (text set by cart.js). */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-main-content > article > h1.screen-reader-text {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0 36px !important;
	padding: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	white-space: normal !important;
	font-family: var(--np-serif);
	font-size: 52px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .np-commerce-title em {
	font-style: italic;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) #page-main-content > article > h1.np-commerce-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
}

/* The theme hides every span inside .screen-reader-text: undo that for the title's own parts. */
body.np-preview h1.np-commerce-title .np-commerce-title__meta {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	white-space: nowrap !important;
}

body.np-preview .np-commerce-title__meta {
	font-family: var(--np-sans);
	font-size: 12px;
	font-style: normal;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--np-muted);
}

body.np-preview .np-commerce-title__meta:empty {
	display: none;
}

body.np-preview.woocommerce-checkout #page-main-content > article {
	position: relative;
}

body.np-preview .np-commerce-title__back {
	position: absolute;
	top: 22px;
	right: 0;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-family: var(--np-sans);
	font-size: 12px;
	font-style: normal;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--np-ink);
}

body.np-preview .np-commerce-title__back:hover {
	color: var(--np-olive);
}

/* Notices (WooCommerce messages / errors) in the calm info-bar style of the design. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):not(:empty) {
	margin: 0 0 24px;
	padding: 18px 22px;
	border: 0;
	border-left: 2px solid var(--np-olive);
	border-radius: 0;
	background: var(--np-olive-tint);
	box-shadow: none;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 15px;
	line-height: 1.6;
}

/* Same selector weight as the rule above (it ends in :not(:empty)), so errors really turn bordo. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .woocommerce-error:not(:empty) {
	border-left-color: var(--np-bordo);
	background: #F6E9E7;
	list-style: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .woocommerce-error > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) .woocommerce-error > li + li {
	margin-top: 6px;
}

/* Notices that WooCommerce scrolls to stay clear of the sticky phone header. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) :is(.woocommerce-NoticeGroup, .woocommerce-notices-wrapper, .woocommerce-message, .woocommerce-info, .woocommerce-error) {
	scroll-margin-top: calc(var(--np-sticky-top) + 24px);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before {
	display: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a {
	color: var(--np-olive-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 2. Form fields (checkout, account, order note) ---------------------------------------------- */
body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content :is(.form-row, .form-group) > label:not(.checkbox):not(.woocommerce-form__label-for-checkbox),
body.np-preview:is(.woocommerce-checkout, .woocommerce-account) .napelle-district-manual-label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--np-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	color: #3A3A33;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) .form-row label .required {
	color: var(--np-bordo);
	text-decoration: none;
	border: 0;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) .form-row label .optional {
	color: var(--np-muted);
	font-size: 13px;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content :where(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea, select):not([type="hidden"]):not(.qty):not(.select2-search__field),
body.np-preview.woocommerce-cart .minimog-modal.modal-cart textarea,
body.np-preview.woocommerce-checkout form.checkout .napelle-district-select {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--np-field-line);
	border-radius: 0;
	background-color: var(--np-paper);
	box-shadow: none;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .2s, box-shadow .2s;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content textarea {
	min-height: 104px;
	resize: vertical;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content :where(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea, select):not([type="hidden"]):not(.qty):focus,
body.np-preview.woocommerce-cart .minimog-modal.modal-cart textarea:focus,
body.np-preview.woocommerce-checkout form.checkout .napelle-district-select:focus {
	border-color: var(--np-olive);
	box-shadow: 0 0 0 1px var(--np-olive);
	outline: none;
}

/*
 * The site's checkout CSS greys out untouched fields with !important (#ddd border, no shadow), which
 * also removed every focus indicator from them. Keep its "untouched" rule (no early error colours)
 * but restore the field line and a visible olive focus ring.
 */
body.np-preview.woocommerce-checkout #page-content .form-row:not(.napelle-checkout-touched) .input-text {
	border-color: var(--np-field-line) !important;
}

body.np-preview.woocommerce-checkout #page-content .form-row .input-text:focus {
	border-color: var(--np-olive) !important;
	box-shadow: 0 0 0 1px var(--np-olive) !important;
}

/* Room for the theme's chevron on native selects (long option labels ran under it). */
body.np-preview:is(.woocommerce-checkout, .woocommerce-account) #page-content select:not(.select2-hidden-accessible) {
	padding-right: 44px;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content :is(input, textarea)::placeholder {
	color: #8A867C;
	opacity: 1;
}

/* #page-content: the field rule above carries an id, so the error state needs one too to show. */
body.np-preview:is(.woocommerce-checkout, .woocommerce-account) #page-content .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) {
	border-color: var(--np-bordo);
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account) :is(.description, .napelle-address-help, .uef-tckn-note, .napelle-different-billing-note, .form-error) {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--np-muted);
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account) #page-content .form-row .form-error {
	color: var(--np-bordo);
}

/* select2 / selectWoo (İl) */
body.np-preview.woocommerce-checkout .select2-container .select2-selection--single {
	position: relative;
	height: 52px;
	border: 1px solid var(--np-field-line);
	border-radius: 0;
	background: var(--np-paper);
}

body.np-preview.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 16px;
	line-height: 50px;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 16px;
}

body.np-preview.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	position: absolute;
	top: 0;
	right: 8px;
	width: 28px;
	height: 50px;
	margin: 0;
	transform: none;
}

/* Same chevron as the native selects next to it (the theme's select-arrow.svg, 10px wide). */
body.np-preview.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	background: url("/wp-content/themes/minimog/assets/svg/select-arrow.svg") no-repeat 50% 50% / 10px auto;
}

body.np-preview.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow b {
	display: none;
}

body.np-preview.woocommerce-checkout .select2-container--open .select2-selection--single .select2-selection__arrow {
	transform: rotate(180deg);
}

body.np-preview.woocommerce-checkout .select2-container--focus .select2-selection--single,
body.np-preview.woocommerce-checkout .select2-container--open .select2-selection--single {
	border-color: var(--np-olive);
	box-shadow: 0 0 0 1px var(--np-olive);
}

body.np-preview.woocommerce-checkout .select2-dropdown {
	border-color: var(--np-field-line);
	border-radius: 0;
	font-family: var(--np-sans);
}

body.np-preview.woocommerce-checkout .select2-results__option--highlighted[aria-selected],
body.np-preview.woocommerce-checkout .select2-results__option--highlighted[data-selected] {
	background: var(--np-olive);
	color: var(--np-paper);
}

/* Checkboxes and radios */
body.np-preview:is(.woocommerce-checkout, .woocommerce-account, .woocommerce-cart) #page-content :is(input[type="checkbox"], input[type="radio"]) {
	accent-color: var(--np-olive);
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account) :is(label.checkbox, .woocommerce-form__label-for-checkbox) {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--np-sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--np-ink);
	cursor: pointer;
}

body.np-preview:is(.woocommerce-checkout, .woocommerce-account) :is(label.checkbox, .woocommerce-form__label-for-checkbox) input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
}

/* Primary buttons (olive, square). */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content :is(.button, button[type="submit"]):not(.show-password-input):not(.decrease):not(.increase) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 30px;
	border: 1px solid var(--np-olive);
	border-radius: 0;
	background: var(--np-olive);
	box-shadow: none;
	color: var(--np-paper);
	font-family: var(--np-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .14em;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color .2s, border-color .2s;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content :is(.button, button[type="submit"]):not(.show-password-input):not(.decrease):not(.increase):is(:hover, :focus-visible) {
	border-color: var(--np-olive-deep);
	background: var(--np-olive-deep);
	color: var(--np-paper);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content :focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: 2px;
}

/* 3. Cart items -------------------------------------------------------------------------------- */
body.np-preview.woocommerce-cart .woocommerce-cart-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	gap: 56px;
	align-items: start;
}

body.np-preview.woocommerce-cart #cart-table-wrap,
body.np-preview.woocommerce-cart .cart-content {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

body.np-preview.woocommerce-cart .np-cart-ship {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 32px;
	padding: 18px 22px;
	background: var(--np-olive-tint);
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 15px;
	line-height: 1.5;
}

body.np-preview.woocommerce-cart .np-cart-ship svg {
	flex: none;
	color: var(--np-olive-deep);
}

body.np-preview.woocommerce-cart .np-cart-ship strong {
	font-weight: 500;
}

body.np-preview.woocommerce-cart table.shop_table.cart {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--np-row-line);
	border-collapse: collapse;
	background: none;
	font-family: var(--np-sans);
}

body.np-preview.woocommerce-cart table.shop_table.cart thead {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}

body.np-preview.woocommerce-cart table.shop_table.cart tbody {
	display: block;
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item {
	position: relative;
	display: grid;
	grid-template-columns: 132px auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto 1fr;
	column-gap: 28px;
	min-height: 237px; /* 165px photo + padding: rows never jump when the eyebrow arrives */
	margin: 0;
	padding: 36px 0;
	border: 0;
	border-bottom: 1px solid var(--np-row-line);
	background: none;
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.col-product-info,
body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item .product-wrap,
body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item .product-info {
	display: contents;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail {
	grid-column: 1;
	grid-row: 1 / -1;
	width: 132px;
	margin: 0;
	padding: 0;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail a,
body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail m-image {
	display: block;
	width: 132px;
	height: 165px;
	padding: 0;
	overflow: hidden;
	background: var(--np-photo);
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail img {
	position: static;
	display: block;
	width: 132px !important;
	height: 165px !important;
	max-width: none;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: 0 !important;
}

body.np-preview.woocommerce-cart .np-cart-item__series {
	grid-column: 2 / 4;
	grid-row: 1;
	display: block;
	margin: 0 0 6px;
	font-family: var(--np-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--np-olive);
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-title {
	grid-column: 2 / 4;
	grid-row: 2;
	margin: 0;
	padding: 0;
	font-family: var(--np-serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-title a {
	color: var(--np-ink);
	text-decoration: none;
	transition: color .2s;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-title a:hover {
	color: var(--np-olive);
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-price {
	grid-column: 2 / 4;
	grid-row: 3;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--np-muted);
}

body.np-preview.woocommerce-cart table.shop_table.cart td.product-price .amount {
	font-weight: 400;
	color: var(--np-muted);
}

body.np-preview.woocommerce-cart table.shop_table.cart td .cart-item-label-mobile {
	display: none;
}

body.np-preview.woocommerce-cart table.shop_table.cart td.product-price .np-cart-item__unit {
	display: inline;
	margin: 0;
	font-size: inherit;
	color: inherit;
}

body.np-preview.woocommerce-cart .np-cart-item__pack::after {
	content: "·";
	margin: 0 8px;
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-quantity {
	grid-column: 2;
	grid-row: 4;
	align-self: start;
	margin-top: 18px;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-info a.remove {
	grid-column: 3;
	grid-row: 4;
	align-self: start;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	width: auto;
	height: 44px;
	margin: 18px 0 0 -10px;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--np-muted);
	font-family: var(--np-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-indent: 0;
}

body.np-preview.woocommerce-cart table.shop_table.cart .product-info a.remove:hover {
	background: none;
	color: var(--np-bordo);
}

body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-subtotal {
	grid-column: 4;
	grid-row: 1 / 3;
	justify-self: end;
	padding-top: 2px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	text-align: right;
	white-space: nowrap;
	color: var(--np-ink);
}

body.np-preview.woocommerce-cart table.shop_table.cart td.product-subtotal .amount {
	font-weight: 500;
	color: var(--np-ink);
}

/* Quantity stepper: [ − ] 1 [ + ] in one hairline box. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper {
	display: inline-block;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	width: auto;
	height: 46px;
	border: 1px solid #D8D0C1;
	border-radius: 0;
	background: var(--np-paper);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .qty {
	order: 2;
	width: 36px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 15px;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .qty::-webkit-outer-spin-button,
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .qty:focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: -2px;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase) {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--np-ink);
	font-size: 0;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .decrease {
	order: 1;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .increase {
	order: 3;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase)::before {
	content: "";
	position: static;
	display: block;
	width: 12px;
	height: 12px;
	margin: 0;
	border: 0;
	background: currentColor;
	-webkit-mask: var(--np-qty-icon) center / 12px 12px no-repeat;
	mask: var(--np-qty-icon) center / 12px 12px no-repeat;
	font-family: inherit;
	font-size: 0;
	transform: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .decrease {
	--np-qty-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h10' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity .increase {
	--np-qty-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h10M6 1v10' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase)::after {
	display: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase):hover {
	background: var(--np-olive-tint);
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase):focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: -2px;
}

/* Rows being updated by the theme's AJAX cart. */
body.np-preview.woocommerce-cart .blockUI.blockOverlay {
	background: rgba(250, 247, 242, .6) !important;
}

/* 4. Cart summary ----------------------------------------------------------------------------- */
body.np-preview.woocommerce-cart #cart-collaterals {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
}

body.np-preview.woocommerce-cart #cart-collaterals .cart_totals {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--np-row-line);
	border-radius: 0;
	background: var(--np-paper);
	box-shadow: none;
	font-family: var(--np-sans);
}

body.np-preview.woocommerce-cart .cart_totals > .np-cart-summary__title {
	display: block !important;
	order: 0;
	margin: 0 0 22px;
	font-family: var(--np-serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.woocommerce-cart .cart_totals > .np-cart-summary__title em {
	font-style: italic;
}

body.np-preview.woocommerce-cart .cart_totals > table.cart-totals-table {
	order: 1;
}

body.np-preview.woocommerce-cart .cart_totals > .np-cart-summary__note {
	order: 2;
}

body.np-preview.woocommerce-cart .cart_totals > .wc-proceed-to-checkout {
	order: 3;
}

body.np-preview.woocommerce-cart .cart_totals > .cart-footer-actions {
	order: 4;
}

body.np-preview.woocommerce-cart .cart_totals > .np-cart-trust {
	order: 5;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) table:is(.cart-totals-table, .wc-checkout-review-order-table) {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) table:is(.cart-totals-table, .wc-checkout-review-order-table) :is(tbody, tfoot) {
	border: 0;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) table:is(.cart-totals-table, .wc-checkout-review-order-table) :is(tbody, tfoot) {
	display: block;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	padding: 7px 0;
	border: 0;
	background: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row > :is(th, td) {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--np-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	vertical-align: baseline;
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row > th {
	text-align: left;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row > td {
	text-align: right;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row .amount {
	font-weight: 400;
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row #shipping_method li {
	margin: 0;
	padding: 0;
	text-align: right;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row #shipping_method label {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	color: var(--np-olive);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total {
	align-items: center;
	margin-top: 13px;
	padding-top: 20px;
	border-top: 1px solid var(--np-row-line);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total > th {
	font-size: 16px;
	vertical-align: middle;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total > td,
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total > td strong,
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total .amount {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--np-muted);
}

body.np-preview.woocommerce-cart .np-cart-summary__note,
body.np-preview.woocommerce-checkout .np-cart-summary__note {
	margin: 6px 0 0;
	font-family: var(--np-sans);
	font-size: 14px;
	line-height: 1.5;
	text-align: right;
	color: var(--np-muted);
}

body.np-preview.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
	margin: 26px 0 0;
	padding: 0;
}

body.np-preview.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 60px;
	min-height: 0;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--np-olive);
	border-radius: 0;
	background: var(--np-olive);
	box-shadow: none;
	color: var(--np-paper);
	font-family: var(--np-sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color .2s, border-color .2s;
}

body.np-preview.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:is(:hover, :focus-visible) {
	border-color: var(--np-olive-deep);
	background: var(--np-olive-deep);
	color: var(--np-paper);
}

/* "Not" (order note for the seller): a quiet text action under the button. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-footer-actions {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-footer-actions a {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--np-body);
	font-family: var(--np-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-footer-actions a:hover {
	color: var(--np-olive);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-footer-actions a .icon {
	display: inline-flex;
	margin: 0;
	font-size: 16px;
	color: var(--np-olive);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-footer-actions a .icon svg {
	width: 16px;
	height: 16px;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .np-cart-trust {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 22px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--np-row-line);
	list-style: none;
	font-family: var(--np-sans);
	font-size: 14px;
	line-height: 1.45;
	color: var(--np-body);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .np-cart-trust li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .np-cart-trust svg {
	flex: none;
	color: var(--np-olive);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .np-cart-trust a {
	color: var(--np-olive-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .np-cart-trust a:hover {
	color: var(--np-ink);
}

/* 5. Empty cart -------------------------------------------------------------------------------- */
body.np-preview.woocommerce-cart #page-main-content > article:has(.empty-cart-messages) > h1.np-commerce-title {
	justify-content: center;
	text-align: center;
}

body.np-preview.woocommerce-cart .empty-cart-messages {
	max-width: 640px;
	margin: 8px auto 0;
	padding: 56px 24px 0;
	border: 0;
	border-top: 1px solid var(--np-row-line);
	background: none;
	text-align: center;
}

body.np-preview.woocommerce-cart .empty-cart-messages .empty-cart-icon {
	display: none; /* the theme's cartoon bag does not fit the editorial look */
}

body.np-preview.woocommerce-cart .empty-cart-messages .empty-cart-heading {
	margin: 0;
	font-family: var(--np-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.woocommerce-cart .empty-cart-messages .empty-cart-text {
	margin: 14px 0 0;
	font-family: var(--np-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--np-body);
}

body.np-preview.woocommerce-cart .wc-empty-cart-message .cart-empty:empty {
	display: none;
}

/* Last item removed without a reload: the theme re-renders the empty state inside the two-column form. */
body.np-preview.woocommerce-cart .woocommerce-cart-form:has(.empty-cart-messages) {
	display: block;
}

body.np-preview.woocommerce-cart .woocommerce-cart-form:has(.empty-cart-messages) #cart-collaterals,
body.np-preview.woocommerce-cart .woocommerce-cart-form:has(.empty-cart-messages) .wc-empty-cart-message {
	display: none;
}

body.np-preview.woocommerce-cart .return-to-shop {
	max-width: 640px;
	margin: 32px auto 0;
	padding: 0 0 56px;
	border-bottom: 1px solid var(--np-row-line);
	text-align: center;
}

/* 6. Checkout ---------------------------------------------------------------------------------- */
body.np-preview.woocommerce-checkout .checkout-content-wrap {
	margin: 0;
}

body.np-preview.woocommerce-checkout form.checkout .row-checkout-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: 64px;
	margin: 0;
}

body.np-preview.woocommerce-checkout form.checkout .row-checkout-wrap > [class*="col-"] {
	width: auto;
	max-width: none;
	flex: none;
	margin: 0;
	padding: 0;
}

body.np-preview.woocommerce-checkout form.checkout :is(h3, h4):not(.product-name) {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	font-family: var(--np-serif);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.woocommerce-checkout form.checkout [id="napelle-invoice-address"] h4 {
	margin-top: 8px;
	font-size: 22px;
}

body.np-preview.woocommerce-checkout form.checkout .woocommerce-billing-fields {
	margin-top: 0 !important; /* the site CSS pulls this block up by 40px */
}

body.np-preview.woocommerce-checkout form.checkout .napelle-shared-address-note {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--np-body);
}

/* Field groups in a two-column grid: first/last name side by side, the rest full width. */
body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-contact-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"], .woocommerce-additional-fields__field-wrapper, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
	margin: 0;
	padding: 0;
}

body.np-preview.woocommerce-checkout form.checkout [id="napelle-invoice-address"][hidden] {
	display: none;
}

body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-contact-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"], .woocommerce-additional-fields__field-wrapper, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) > :is(.form-row, h4, p, div) {
	grid-column: 1 / -1;
	float: none;
	width: auto;
	max-width: none;
	margin: 0 0 22px;
	padding: 0;
}

body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"]) > .form-row-first {
	grid-column: 1;
}

body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"]) > .form-row-last {
	grid-column: 2;
}

body.np-preview.woocommerce-checkout form.checkout .napelle-contact-fields > .form-row.form-row {
	grid-column: auto;
}

body.np-preview.woocommerce-checkout form.checkout .form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

body.np-preview.woocommerce-checkout form.checkout .napelle-invoice-identity-fields {
	margin-top: 10px;
	padding-top: 28px;
	border-top: 1px solid var(--np-row-line);
}

body.np-preview.woocommerce-checkout form.checkout .napelle-different-billing-row {
	margin: 4px 0 28px;
}

body.np-preview.woocommerce-checkout form.checkout .woocommerce-additional-fields {
	margin-top: 8px;
}

/* Order review card */
body.np-preview.woocommerce-checkout form.checkout .row-checkout-wrap > .col-checkout-review-order {
	display: block;
}

body.np-preview.woocommerce-checkout .col-checkout-review-order > .inner {
	position: sticky;
	top: calc(var(--np-sticky-top) + 24px); /* clears the header wherever it is sticky */
	width: auto;
	max-width: none;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--np-row-line);
	border-radius: 0;
	background: var(--np-paper);
	box-shadow: none;
}

body.np-preview.woocommerce-checkout #order_review,
body.np-preview.woocommerce-checkout .woocommerce-checkout-review-order-table {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

body.np-preview.woocommerce-checkout #order_review_heading {
	margin-bottom: 18px;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table tr.cart_item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--np-row-line);
	background: none;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table tbody tr.cart_item:first-child {
	border-top: 1px solid var(--np-row-line);
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table tr.cart_item > td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
	background: none;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table tr.cart_item > td.product-info {
	flex: 1;
	min-width: 0;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .product-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .product-thumbnail {
	flex: none;
	width: 64px;
	margin: 0;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .product-thumbnail :is(m-image, img) {
	display: block;
	width: 64px !important;
	height: 80px !important;
	padding: 0;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: 0 !important;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .product-name {
	margin: 0;
	font-family: var(--np-serif);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .np-cart-item__series {
	display: block;
	margin: 0 0 4px;
	font-family: var(--np-sans);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--np-olive);
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .np-review-item__qty {
	margin: 4px 0 0;
	font-family: var(--np-sans);
	font-size: 13px;
	line-height: 1.5;
	color: var(--np-muted);
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .product-name .product-quantity {
	font-family: var(--np-sans);
	font-size: 14px;
	color: var(--np-muted);
	white-space: nowrap;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table td.product-total {
	flex: none;
	font-family: var(--np-sans);
	font-size: 15px;
	font-weight: 500;
	text-align: right;
	white-space: nowrap;
	color: var(--np-ink);
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .cart-footer-actions-row {
	display: block;
	margin: 0;
	padding: 6px 0 10px;
	border: 0;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .cart-footer-actions-row > td {
	display: block;
	padding: 0;
	border: 0;
}

body.np-preview.woocommerce-checkout .wc-checkout-review-order-table .cart-footer-actions {
	justify-content: flex-start;
	margin: 0;
}

body.np-preview.woocommerce-checkout form.checkout h3.checkout-payment-info-heading {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--np-row-line);
}

/* 7. Payment methods --------------------------------------------------------------------------- */
body.np-preview.woocommerce-checkout #payment {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

body.np-preview.woocommerce-checkout #payment ul.payment_methods {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.np-preview.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
	margin: 0;
	padding: 0;
	border: 1px solid var(--np-row-line);
	border-radius: 0;
	background: var(--np-bg);
	transition: border-color .2s, background-color .2s;
}

body.np-preview.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(> .payment-title-wrap input:checked) {
	border-color: var(--np-olive);
	background: var(--np-paper);
	box-shadow: inset 0 0 0 1px var(--np-olive);
}

body.np-preview.woocommerce-checkout #payment .payment-title-wrap {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

body.np-preview.woocommerce-checkout #payment .payment-title-wrap input.input-radio {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0;
}

body.np-preview.woocommerce-checkout #payment .payment-title-wrap label.payment_title {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	margin: 0;
	padding: 12px 16px 12px 50px;
	border: 0;
	background: none;
	font-family: var(--np-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--np-ink);
	cursor: pointer;
}

body.np-preview.woocommerce-checkout #payment .payment-title-wrap label.payment_title::before,
body.np-preview.woocommerce-checkout #payment .payment-title-wrap label.payment_title::after {
	display: none;
}

body.np-preview.woocommerce-checkout #payment .payment-title-name {
	flex: 1;
}

body.np-preview.woocommerce-checkout #payment .payment-title-icon {
	order: 2;
	color: var(--np-muted);
}

body.np-preview.woocommerce-checkout #payment .payment-title-icon:empty {
	display: none;
}

body.np-preview.woocommerce-checkout #payment .payment_box {
	margin: 0;
	padding: 0 18px 16px 50px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font-family: var(--np-sans);
	font-size: 14px;
	line-height: 1.6;
	color: var(--np-body);
}

body.np-preview.woocommerce-checkout #payment .payment_box::before {
	display: none;
}

body.np-preview.woocommerce-checkout #payment .payment_box p {
	margin: 0;
}

body.np-preview.woocommerce-checkout #payment .place-order {
	margin: 24px 0 0;
	padding: 0;
	border: 0;
}

body.np-preview.woocommerce-checkout #payment .woocommerce-privacy-policy-text:empty {
	display: none;
}

body.np-preview.woocommerce-checkout #payment :is(.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper) {
	font-size: 13px;
	line-height: 1.6;
	color: var(--np-muted);
}

body.np-preview.woocommerce-checkout #payment #place_order {
	width: 100%;
	height: 60px;
	min-height: 0;
	margin: 8px 0 0;
	font-size: 14px;
}

body.np-preview.woocommerce-checkout #payment #cod-otp-area input {
	min-height: 52px;
}

/* 8. My account -------------------------------------------------------------------------------- */
body.np-preview.woocommerce-account #page-main-content > article > h1.screen-reader-text {
	text-align: center;
}

body.np-preview.woocommerce-account :is(.woocommerce-form-login-wrap, .woocommerce-form-register-wrap, .woocommerce-ResetPassword, .woocommerce-form-wrap) {
	max-width: 520px;
	margin: 0 auto;
	padding: 48px 44px;
	border: 1px solid var(--np-row-line);
	border-radius: 0;
	background: var(--np-paper);
	box-shadow: none;
}

body.np-preview.woocommerce-account .woocommerce-form-wrap :is(.woocommerce-form-wrap, .woocommerce-ResetPassword) {
	max-width: none;
	padding: 0;
	border: 0;
	background: none;
}

body.np-preview.woocommerce-account :is(.woocommerce-form-login-wrap, .woocommerce-form-register-wrap, .woocommerce-form-wrap) > h2 {
	margin: 0 0 28px;
	font-family: var(--np-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.woocommerce-account form :is(.form-row, .woocommerce-form-row) {
	float: none;
	width: auto;
	margin: 0 0 20px;
	padding: 0;
}

body.np-preview.woocommerce-account .woocommerce-form-login .row-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 28px;
}

body.np-preview.woocommerce-account .woocommerce-form-login .row-flex > div {
	flex: 0 1 auto;
	width: auto;
	max-width: none;
	padding: 0;
}

body.np-preview.woocommerce-account .woocommerce-LostPassword a,
body.np-preview.woocommerce-account .lost_password a {
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	color: var(--np-ink);
	font-size: 14px;
	text-decoration: none;
}

body.np-preview.woocommerce-account .woocommerce-LostPassword a:hover {
	color: var(--np-olive);
}

body.np-preview.woocommerce-account :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-ResetPassword .button) {
	width: 100%;
	height: 56px;
}

body.np-preview.woocommerce-account .woocommerce-ResetPassword > p:first-of-type {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--np-body);
}

/* Password field with WooCommerce's show / hide button. */
body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input {
	position: relative;
	display: block;
	width: 100%;
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input input {
	padding-right: 56px;
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input {
	position: absolute;
	top: 50%;
	right: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--np-muted);
	font-size: 0;
	cursor: pointer;
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input::before,
body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input::after {
	content: none;
	display: none;
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input.display-password::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input:hover {
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-account, .woocommerce-checkout) .password-input .show-password-input:focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: -2px;
}

/* Logged-in account: navigation + content. */
body.np-preview.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

body.np-preview.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--np-row-line);
	list-style: none;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--np-row-line);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 14px 0;
	border: 0;
	background: none;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 15px;
	font-weight: 400;
	text-decoration: none;
	text-transform: none;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--np-olive);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 500;
	box-shadow: inset 2px 0 0 var(--np-olive);
	padding-left: 14px;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	font-family: var(--np-sans);
	font-size: 15px;
	line-height: 1.7;
	color: var(--np-body);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content :is(h2, h3) {
	margin: 0 0 16px;
	font-family: var(--np-serif);
	font-weight: 400;
	color: var(--np-ink);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
	color: var(--np-olive-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-top: 1px solid var(--np-row-line);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content table.shop_table :is(th, td) {
	padding: 14px 12px 14px 0;
	border: 0;
	border-bottom: 1px solid var(--np-row-line);
	background: none;
	text-align: left;
	font-size: 14px;
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--np-muted);
}

body.np-preview.woocommerce-account .woocommerce-MyAccount-content .button {
	min-height: 44px !important;
	padding: 0 18px !important;
	font-size: 12px !important;
}

/* 9. Wishlist (WPC Smart Wishlist [woosw_list]; cart.js adds labels, keyboard access, empty state) */
body.np-preview:is(.page-id-15, .np-wishlist-page) #page-main-content > article {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-main-content > article:has(.woosw-item) {
	max-width: 960px;
	text-align: left;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-main-content > article > h1.np-commerce-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list {
	margin: 0;
	padding: 0;
	font-family: var(--np-sans);
	color: var(--np-ink);
}

/* Empty list */
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-popup-content-mid-message {
	margin: 8px 0 0;
	padding: 56px 24px 0;
	border-top: 1px solid var(--np-row-line);
	font-family: var(--np-serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	color: var(--np-ink);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-empty {
	padding: 14px 24px 56px;
	border-bottom: 1px solid var(--np-row-line);
	text-align: center;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-empty p {
	max-width: 440px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.7;
	color: var(--np-body);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-empty .np-btn {
	margin-top: 32px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list.np-wishlist--empty :is(.woosw-items, .woosw-actions) {
	display: none;
}

/* Items: photo | name, price, date, note | add to cart + remove (same rhythm as the cart rows). */
body.np-preview:is(.page-id-15, .np-wishlist-page) table.woosw-items {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--np-row-line);
	border-collapse: collapse;
	background: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) table.woosw-items > tbody {
	display: block;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items tr.woosw-item {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) 220px;
	grid-template-rows: auto 1fr;
	column-gap: 28px;
	margin: 0;
	padding: 32px 0;
	border: 0;
	border-bottom: 1px solid var(--np-row-line);
	background: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items tr.woosw-item > td {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
	vertical-align: top;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image {
	grid-column: 1;
	grid-row: 1 / -1;
	width: 132px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image :is(a, img) {
	display: block;
	width: 132px;
	height: 165px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image img {
	max-width: none;
	object-fit: cover;
	background: var(--np-photo);
	border-radius: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--info {
	grid-column: 2;
	grid-row: 1 / -1;
	min-width: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .np-cart-item__series {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--np-olive);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--name {
	margin: 0;
	font-family: var(--np-serif);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--name a {
	color: var(--np-ink);
	text-decoration: none;
	transition: color .2s;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--name a:hover {
	color: var(--np-olive);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 0;
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--np-ink);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price :is(.price, .amount) {
	margin: 0;
	font-size: inherit;
	font-weight: 500;
	color: var(--np-ink);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price del {
	margin-right: 8px;
	opacity: 1;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price del .amount {
	font-weight: 400;
	color: var(--np-muted);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price .np-cart-item__pack {
	font-size: 14px;
	color: var(--np-muted);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price .np-cart-item__pack::before {
	content: "·";
	margin: 0 8px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--time {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--np-muted);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price-change {
	margin-top: 6px;
	font-size: 13px;
	color: var(--np-olive-deep);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--note {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--np-body);
	font-size: 13px;
	font-style: normal;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--note:hover {
	color: var(--np-olive);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--note-add {
	gap: 8px;
	max-width: 360px;
	margin-top: 10px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--note-add:not([style*="none"]) {
	display: flex !important;
}

/* Two ids: the theme's own field and button rules are id-scoped too. */
body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-items .woosw-item--note-add input[type="text"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--np-field-line);
	border-radius: 0;
	background: var(--np-paper);
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 16px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-items .woosw-item--note-add .woosw_add_note {
	flex: none;
	width: 44px;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 1px solid var(--np-olive);
	border-radius: 0;
	background: var(--np-olive);
	color: var(--np-paper);
	font-size: 16px;
	cursor: pointer;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--actions {
	grid-column: 3;
	grid-row: 1;
	align-self: start;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--stock:empty {
	display: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--stock .stock {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--np-muted);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--stock .out-of-stock {
	color: var(--np-bordo);
}

/* [add_to_cart] output: the theme tooltip ("Sepete Ekle") repeats the button text. */
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc :is(p, .product-action) {
	margin: 0;
	padding: 0;
	border: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc .product-action::before,
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc .product-action::after {
	display: none !important;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-items .woosw-item--atc .button {
	display: flex;
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	font-size: 12px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc .button.loading {
	opacity: .7;
	pointer-events: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc .button::after {
	display: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--atc .added_to_cart {
	display: block;
	margin-top: 10px;
	color: var(--np-olive-deep);
	font-size: 13px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--remove {
	grid-column: 3;
	grid-row: 2;
	align-self: start;
	justify-self: center;
	margin-top: 6px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 4px;
	color: var(--np-muted);
	font-family: var(--np-sans);
	font-size: 13px;
	line-height: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span::before,
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span::after {
	content: none !important;
	display: none !important;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span:hover {
	color: var(--np-bordo);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span:focus-visible,
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--note:focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: 2px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--remove span.woosw-item--removing {
	opacity: .5;
	pointer-events: none;
	cursor: progress;
}

/* Share link */
body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 32px 0 0;
	padding: 0;
	border: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy-label {
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--np-muted);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy-url {
	flex: 1 1 240px;
	min-width: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-list .woosw-copy-url input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	line-height: 46px;
	border: 1px solid var(--np-field-line);
	border-radius: 0;
	background: var(--np-paper);
	color: var(--np-body);
	font-family: var(--np-sans);
	font-size: 15px;
	text-align: left;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-list .woosw-copy-url input:focus {
	border-color: var(--np-olive);
	box-shadow: 0 0 0 1px var(--np-olive);
	outline: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy-btn {
	display: flex;
	flex: none;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-list .woosw-copy-btn .button {
	box-sizing: border-box;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 22px;
	border-color: var(--np-ink);
	background: transparent;
	color: var(--np-ink);
	font-size: 12px;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-list .woosw-copy-btn .button:is(:hover, :focus-visible) {
	border-color: var(--np-ink);
	background: var(--np-ink);
	color: var(--np-paper);
}

/* Plugin missing: the raw shortcode is replaced by an honest note (cart.js). */
body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-note {
	margin: 0 auto;
	padding: 48px 32px;
	border: 1px solid var(--np-row-line);
	background: var(--np-paper);
	font-family: var(--np-sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--np-body);
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-note p {
	margin: 0;
}

body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-note .np-btn {
	margin-top: 28px;
}

/* 10. Theme modals used by the cart (order note) ---------------------------------------------- */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .minimog-modal.modal-cart .modal-content {
	border-radius: 0;
	background: var(--np-paper);
	font-family: var(--np-sans);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .minimog-modal.modal-cart .modal-title {
	font-family: var(--np-serif);
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .minimog-modal.modal-cart textarea {
	width: 100%;
	min-height: 120px;
	padding: 14px 16px;
	border: 1px solid #948D80;
	border-radius: 0;
	background: var(--np-paper);
	font-family: var(--np-sans);
	font-size: 16px;
	color: var(--np-ink);
}

/* cart.js makes the close control focusable: show where the focus is. */
body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .minimog-modal.modal-cart .button-close-modal:focus-visible {
	outline: 2px solid var(--np-olive);
	outline-offset: 2px;
}

body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .minimog-modal.modal-cart .button {
	border-radius: 0;
	background: var(--np-olive);
	border-color: var(--np-olive);
	color: var(--np-paper);
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* 11. Tablet / phone --------------------------------------------------------------------------- */
@media (max-width: 1279px) {
	body.np-preview.woocommerce-cart .woocommerce-cart-form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
		gap: 40px;
	}

	body.np-preview.woocommerce-checkout form.checkout .row-checkout-wrap {
		grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
		gap: 40px;
	}
}

@media (max-width: 1023px) {
	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content {
		padding: 40px 0 72px;
	}

	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-main-content > article > h1.screen-reader-text {
		margin-bottom: 28px !important;
		font-size: 42px;
	}

	body.np-preview.woocommerce-cart .woocommerce-cart-form,
	body.np-preview.woocommerce-checkout form.checkout .row-checkout-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	body.np-preview.woocommerce-cart #cart-collaterals .cart_totals {
		max-width: none;
	}

	body.np-preview.woocommerce-checkout .col-checkout-review-order > .inner {
		position: static;
	}

	body.np-preview.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

@media (max-width: 767px) {
	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-content {
		padding: 28px 0 56px;
	}

	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-id-15, .np-wishlist-page) #page-main-content > article > h1.screen-reader-text {
		margin-bottom: 20px !important;
		font-size: 36px;
	}

	body.np-preview .np-commerce-title__back {
		top: 12px;
	}

	body.np-preview.woocommerce-cart .np-cart-ship {
		gap: 12px;
		margin-bottom: 20px;
		padding: 14px 16px;
		font-size: 14px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: 96px auto minmax(0, 1fr) auto;
		column-gap: 16px;
		min-height: 168px;
		padding: 24px 0;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail,
	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail a,
	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail m-image {
		width: 96px;
		height: 120px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail img {
		width: 96px !important;
		height: 120px !important;
	}

	body.np-preview.woocommerce-cart .np-cart-item__series {
		grid-column: 2 / 4;
		margin-bottom: 4px;
		font-size: 11px;
		letter-spacing: .14em;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-title {
		grid-column: 2 / -1;
		font-size: 19px;
		line-height: 1.3;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-price {
		grid-column: 2 / -1;
		font-size: 13px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-subtotal {
		grid-column: 4;
		grid-row: 1;
		padding-top: 0;
		font-size: 15px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item > td.product-quantity {
		margin-top: 12px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-info a.remove {
		margin-top: 12px;
		margin-left: -2px;
	}

	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .quantity-button-wrapper .quantity :is(.decrease, .increase) {
		width: 42px;
	}

	body.np-preview.woocommerce-cart #cart-collaterals .cart_totals,
	body.np-preview.woocommerce-checkout .col-checkout-review-order > .inner {
		margin-inline: calc(-1 * var(--np-gutter));
		padding: 28px var(--np-gutter);
		border-inline: 0;
	}

	body.np-preview.woocommerce-cart #cart-collaterals .cart_totals {
		width: auto;
		max-width: none;
	}

	body.np-preview.woocommerce-cart .cart_totals > .np-cart-summary__title {
		font-size: 26px;
	}

	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total > td,
	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total > td strong,
	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout) .cart-totals-row.order-total .amount {
		font-size: 26px;
	}

	body.np-preview.woocommerce-checkout form.checkout :is(h3, h4):not(.product-name) {
		font-size: 24px;
	}

	body.np-preview.woocommerce-checkout .col-checkout-review-order > .inner {
		width: auto;
	}

	body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-contact-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"], .woocommerce-additional-fields__field-wrapper, .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) {
		grid-template-columns: minmax(0, 1fr);
	}

	body.np-preview.woocommerce-checkout form.checkout :is(.napelle-delivery-fields, .napelle-contact-fields, .napelle-invoice-identity-fields, [id="napelle-invoice-address"]) > :is(.form-row-first, .form-row-last, .form-row) {
		grid-column: 1;
	}

	body.np-preview.woocommerce-account :is(.woocommerce-form-login-wrap, .woocommerce-form-register-wrap, .woocommerce-ResetPassword, .woocommerce-form-wrap) {
		padding: 32px 22px;
	}

	body.np-preview.woocommerce-cart .empty-cart-messages {
		padding-top: 40px;
	}

	body.np-preview.woocommerce-cart .empty-cart-messages .empty-cart-heading {
		font-size: 26px;
	}

	body.np-preview.woocommerce-cart .return-to-shop {
		padding-bottom: 40px;
	}

	body.np-preview.woocommerce-account :is(.woocommerce-form-login-wrap, .woocommerce-form-register-wrap, .woocommerce-form-wrap) > h2 {
		font-size: 28px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-popup-content-mid-message {
		padding-top: 40px;
		font-size: 25px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-empty {
		padding: 12px 8px 40px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .np-wishlist-empty p {
		font-size: 15px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items tr.woosw-item {
		grid-template-columns: 96px minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		column-gap: 16px;
		padding: 24px 0;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image,
	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image :is(a, img) {
		width: 96px;
		height: 120px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--image {
		height: auto;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--info {
		grid-column: 2;
		grid-row: 1;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--actions {
		grid-column: 2;
		grid-row: 2;
		margin-top: 14px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items td.woosw-item--remove {
		grid-column: 2;
		grid-row: 3;
		justify-self: start;
		margin: 4px 0 0 -4px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .np-cart-item__series {
		margin-bottom: 4px;
		font-size: 11px;
		letter-spacing: .14em;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--name {
		font-size: 19px;
		line-height: 1.3;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-items .woosw-item--price {
		margin-top: 6px;
		font-size: 15px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) #page-content #page-main-content .woosw-items .woosw-item--atc .button {
		min-height: 46px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-actions {
		margin-top: 24px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy {
		gap: 10px;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy-label {
		flex: 1 0 100%;
	}

	body.np-preview:is(.page-id-15, .np-wishlist-page) .woosw-list .woosw-copy-url {
		flex: 1 1 0;
	}
}

/* 12. 404 page (theme template; cart.js replaces the theme block with .np-404) ------------------------ */
body.np-preview.error404 .site {
	min-height: 0;
}

body.np-preview.error404 .page-404-content {
	display: block;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: var(--np-bg);
	color: var(--np-ink);
	font-family: var(--np-sans);
}

body.np-preview.error404 .page-404-content > .container {
	width: 100%;
	max-width: var(--np-container);
	margin-inline: auto;
	padding-inline: var(--np-gutter);
	box-sizing: border-box;
}

/* Until cart.js runs (or without JavaScript) the theme block keeps the site's typography. */
body.np-preview.error404 .page-404-content:not(.np-404-ready) {
	padding: 96px 0 112px;
	text-align: center;
}

body.np-preview.error404 .page-404-content .error-404-title {
	margin: 0 0 18px;
	font-family: var(--np-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: .24em;
	color: var(--np-olive);
}

body.np-preview.error404 .page-404-content .error-404-sub-title {
	margin: 0;
	font-family: var(--np-serif);
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--np-ink);
}

body.np-preview.error404 .np-404 {
	max-width: 720px;
	margin: 0 auto;
	padding: 104px 0 120px;
	text-align: center;
}

body.np-preview.error404 .np-404:focus {
	outline: none; /* skip-link target */
}

body.np-preview.error404 .np-404__code {
	margin: 0 0 20px;
	font-family: var(--np-sans);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--np-olive);
}

body.np-preview.error404 .np-404__title {
	margin: 0;
	font-family: var(--np-serif);
	font-size: clamp(40px, 5vw, 64px);
	font-style: normal;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.005em;
	text-transform: none;
	color: var(--np-ink);
}

body.np-preview.error404 .np-404__title em {
	font-style: italic;
}

body.np-preview.error404 .np-404__lead {
	max-width: 560px;
	margin: 22px auto 0;
	font-family: var(--np-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--np-body);
}

body.np-preview.error404 .np-404__search {
	display: flex;
	align-items: stretch;
	max-width: 520px;
	margin: 44px auto 0;
	border-bottom: 1px solid var(--np-ink);
	transition: border-color .2s, box-shadow .2s;
}

body.np-preview.error404 .np-404__search:focus-within {
	border-bottom-color: var(--np-olive);
	box-shadow: 0 1px 0 var(--np-olive);
}

body.np-preview.error404 .np-404 .np-404__input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 10px 0 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--np-ink);
	font-family: var(--np-serif);
	font-size: 24px !important; /* the theme forces its own field size with !important */
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
	outline: none;
}

body.np-preview.error404 .np-404 .np-404__input::placeholder {
	color: #8A867C;
	opacity: 1;
}

body.np-preview.error404 .np-404 .np-404__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

body.np-preview.error404 .np-404 .np-404__submit {
	flex: none;
	margin: 0;
	padding: 0 0 0 20px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--np-ink);
	font-family: var(--np-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
}

body.np-preview.error404 .np-404 .np-404__submit:is(:hover, :focus-visible) {
	background: none;
	color: var(--np-olive);
}

body.np-preview.error404 .np-404 .np-404__submit:focus-visible {
	outline: 1px solid var(--np-olive);
	outline-offset: 4px;
}

body.np-preview.error404 .np-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}

body.np-preview.error404 .np-404__cats {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--np-line);
}

body.np-preview.error404 .np-404__label {
	margin: 0 0 16px;
	font-family: var(--np-sans);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--np-muted);
}

body.np-preview.error404 .np-404__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.np-preview.error404 .np-404__chips > li {
	margin: 0;
	padding: 0;
}

@media (max-width: 767px) {
	body.np-preview.error404 .np-404 {
		padding: 64px 0 80px;
	}

	body.np-preview.error404 .np-404__lead {
		font-size: 16px;
	}

	body.np-preview.error404 .np-404__search {
		margin-top: 36px;
	}

	body.np-preview.error404 .np-404 .np-404__input {
		font-size: 20px !important;
	}

	body.np-preview.error404 .np-404__actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 32px;
	}

	body.np-preview.error404 .np-404__cats {
		margin-top: 44px;
		padding-top: 32px;
	}
}

/* Narrow phones (up to 399px): the 96px photo, the quantity stepper, the line total and three 16px
   gaps added up to more than the row (341px in a 320–335px row at 360–375px), which pushed the line
   total and long product names past the right gutter. A smaller photo, gap and stepper keep every
   part inside the row. */
@media (max-width: 399px) {
	body.np-preview.woocommerce-cart table.shop_table.cart tr.cart_item {
		grid-template-columns: 84px auto minmax(0, 1fr) auto;
		column-gap: 12px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail,
	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail a,
	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail m-image {
		width: 84px;
		height: 105px;
	}

	body.np-preview.woocommerce-cart table.shop_table.cart .product-thumbnail img {
		width: 84px !important;
		height: 105px !important;
	}

	body.np-preview.woocommerce-cart .quantity-button-wrapper .quantity :is(.decrease, .increase) {
		width: 34px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.np-preview:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) * {
		transition: none !important;
	}
}
