.ppi-single-variant-select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}

.ppi-single-variant-select select {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 38px;
	padding: 0 30px 0 12px;
	border: 1px solid #e7ebf2;
	border-radius: 0;
	background-color: #f8fafc;
	color: inherit;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	box-shadow: none;
	box-sizing: border-box;
	text-overflow: ellipsis;
}

.ppi-single-variant-select select:focus {
	outline: 2px solid rgba(37, 99, 235, 0.25);
	outline-offset: 1px;
}

.ppi-stock-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	min-height: 24px;
	padding: 5px 10px;
	border-radius: 7px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ppi-stock-pill--low {
	background: var(--ppi-stock-low-bg, #ffedb3);
	color: var(--ppi-stock-low-text, #654500);
}

.ppi-stock-pill--in {
	background: var(--ppi-stock-in-bg, #cef8d3);
	color: var(--ppi-stock-in-text, #06651a);
}

.ppi-stock-pill--out {
	background: var(--ppi-stock-out-bg, #ffd6dd);
	color: var(--ppi-stock-out-text, #9f1239);
}

.ppi-single-card-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid var(--ppi-card-table-border, #dfe5ee);
	border-radius: 7px;
	background: var(--ppi-card-table-bg, #fff);
	box-sizing: border-box;
}

.ppi-single-card-table {
	width: 100%;
	min-width: 620px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: var(--ppi-card-table-bg, #fff);
	color: var(--ppi-card-table-text, #0f1f33);
	font-family: Inter, sans-serif;
	font-size: 14px;
	line-height: 20px;
	box-shadow: none;
}

.ppi-single-card-table th,
.ppi-single-card-table td {
	padding: 18px 20px;
	border: 0;
	border-right: 1px solid var(--ppi-card-table-border, #dfe5ee);
	border-bottom: 1px solid var(--ppi-card-table-border, #dfe5ee);
	text-align: left;
	vertical-align: middle;
}

.ppi-single-card-table th:last-child,
.ppi-single-card-table td:last-child {
	border-right: 0;
}

.ppi-single-card-table tbody tr:last-child td {
	border-bottom: 0;
}

.ppi-single-card-table thead th {
	background: var(--ppi-card-table-head-bg, #f8fafc);
	color: var(--ppi-card-table-muted, #41506a);
	font-size: 11px;
	font-weight: 800;
	line-height: 14px;
	text-transform: uppercase;
}

.ppi-single-card-table thead th:nth-child(3) {
	color: var(--ppi-card-table-price, #ef334f);
}

.ppi-single-card-table__buy {
	width: 116px;
}

.ppi-single-card-table__price {
	color: var(--ppi-card-table-price, #ef334f);
	font-weight: 800;
	white-space: nowrap;
}

.ppi-single-card-table__price .amount {
	color: inherit;
	font-weight: inherit;
}

.ppi-single-card-buy-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 13px;
	border: 0;
	border-radius: 7px;
	background: var(--ppi-card-table-button, #ef334f);
	color: var(--ppi-card-table-button-t, #fff);
	font-size: 13px;
	font-weight: 800;
	line-height: 18px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

.ppi-single-card-buy-button .ppi-cart-button-content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.ppi-single-card-buy-button .ppi-cart-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.ppi-single-card-buy-button svg,
.ppi-cart-float svg {
	display: block;
	width: 17px;
	height: 17px;
	color: inherit;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ppi-single-card-buy-button:hover,
.ppi-single-card-buy-button:focus {
	background: var(--ppi-card-table-button-h, #d91f3d);
	color: var(--ppi-card-table-button-t, #fff);
	text-decoration: none;
}

.ppi-single-card-buy-button--disabled {
	background: #eef2f7;
	color: #6b778c;
	cursor: not-allowed;
}

.ppi-single-card-buy-button--disabled:hover,
.ppi-single-card-buy-button--disabled:focus {
	background: #eef2f7;
	color: #6b778c;
}

.ppi-cart-drawer-root {
	--ppi-cart-width: 420px;
	position: relative;
	z-index: 99998;
	font-family: Inter, sans-serif;
	color: var(--ppi-cart-text, #152238);
}

.ppi-cart-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 14px;
	background: var(--ppi-cart-button, #ffc928);
	color: var(--ppi-cart-button-t, #1b2a45);
	box-shadow: 0 14px 32px rgba(21, 34, 56, 0.22);
	cursor: pointer;
}

.ppi-cart-float svg {
	width: 22px;
	height: 22px;
}

.ppi-cart-float span {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ppi-cart-price, #1976f3);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.ppi-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 99998;
	background: rgba(15, 31, 51, 0.42);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.ppi-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 99999;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: min(var(--ppi-cart-width), 100vw);
	height: 100vh;
	background: var(--ppi-cart-bg, #f2f7fd);
	box-shadow: -18px 0 45px rgba(21, 34, 56, 0.2);
	transform: translateX(100%);
	transition: transform 0.22s ease;
}

.ppi-cart-drawer-root.is-open .ppi-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

.ppi-cart-drawer-root.is-open .ppi-cart-drawer {
	transform: translateX(0);
}

.ppi-cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding: 0 16px;
	border-bottom: 1px solid var(--ppi-cart-border, #e8eef7);
	background: var(--ppi-cart-panel, #fff);
}

.ppi-cart-drawer__head strong {
	font-size: 22px;
	font-weight: 900;
	line-height: 28px;
}

.ppi-cart-drawer__head button,
.ppi-cart-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ppi-cart-muted, #5f6e82);
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.ppi-cart-drawer__body {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 0;
	padding: 16px;
	overflow: auto;
}

.ppi-cart-empty,
.ppi-cart-item {
	border: 1px solid var(--ppi-cart-border, #e8eef7);
	border-radius: 16px;
	background: var(--ppi-cart-panel, #fff);
}

.ppi-cart-empty {
	padding: 22px;
	color: var(--ppi-cart-muted, #5f6e82);
	font-weight: 700;
	text-align: center;
}

.ppi-cart-item {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr) auto;
	gap: 12px;
	padding: 12px;
}

.ppi-cart-item__image img {
	display: block;
	width: 74px;
	height: 74px;
	border-radius: 10px;
	object-fit: contain;
	background: #fff;
}

.ppi-cart-item__main {
	display: grid;
	align-content: space-between;
	gap: 12px;
	min-width: 0;
}

.ppi-cart-item__title {
	color: var(--ppi-cart-text, #152238);
	font-size: 14px;
	font-weight: 900;
	line-height: 18px;
	text-decoration: none;
}

.ppi-cart-qty {
	display: inline-grid;
	grid-template-columns: 34px 48px 34px;
	align-items: center;
	width: fit-content;
	overflow: hidden;
	border: 1px solid var(--ppi-cart-border, #e8eef7);
	border-radius: 999px;
	background: #f7f9fc;
}

.ppi-cart-qty button,
.ppi-cart-qty input {
	width: 100%;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--ppi-cart-text, #152238);
	font-size: 15px;
	font-weight: 900;
	text-align: center;
	box-shadow: none;
}

.ppi-cart-qty input {
	appearance: textfield;
}

.ppi-cart-qty input::-webkit-outer-spin-button,
.ppi-cart-qty input::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.ppi-cart-item__side {
	display: grid;
	align-content: space-between;
	justify-items: end;
	gap: 14px;
	min-width: 64px;
}

.ppi-cart-item__side strong {
	color: var(--ppi-cart-text, #152238);
	font-size: 14px;
	font-weight: 900;
	line-height: 18px;
	white-space: nowrap;
}

.ppi-cart-drawer__foot {
	display: grid;
	gap: 0;
	padding: 16px;
	border-top: 1px solid var(--ppi-cart-border, #e8eef7);
	background: var(--ppi-cart-panel, #fff);
}

.ppi-cart-shipping {
	margin-bottom: 14px;
	padding: 12px 14px;
	border: 1px solid #b9eccd;
	border-radius: 12px;
	background: var(--ppi-cart-notice, #e7f8ee);
	color: var(--ppi-cart-notice-t, #12813c);
	font-size: 13px;
	font-weight: 900;
	line-height: 18px;
	text-align: center;
}

.ppi-cart-line,
.ppi-cart-total {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-top: 1px solid var(--ppi-cart-border, #e8eef7);
	color: var(--ppi-cart-muted, #5f6e82);
	font-size: 14px;
	line-height: 20px;
}

.ppi-cart-line strong,
.ppi-cart-total strong {
	color: var(--ppi-cart-text, #152238);
	font-weight: 900;
	text-align: right;
}

.ppi-cart-total {
	color: var(--ppi-cart-text, #152238);
	font-size: 19px;
	font-weight: 900;
}

.ppi-cart-checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 14px;
	border-radius: 16px;
	background: var(--ppi-cart-button, #ffc928);
	color: var(--ppi-cart-button-t, #1b2a45);
	font-size: 16px;
	font-weight: 900;
	text-decoration: none;
}

.ppi-cart-checkout:hover,
.ppi-cart-checkout:focus {
	background: var(--ppi-cart-button-h, #ffb800);
	color: var(--ppi-cart-button-t, #1b2a45);
	text-decoration: none;
}

.ppi-cart-view {
	margin-top: 12px;
	color: var(--ppi-cart-muted, #5f6e82);
	font-size: 13px;
	font-weight: 900;
	line-height: 18px;
	text-align: center;
	text-decoration: none;
}

.ppi-cart-notice {
	position: fixed;
	right: 20px;
	bottom: 88px;
	z-index: 100000;
	width: fit-content;
	max-width: min(300px, calc(100vw - 32px));
	padding: 11px 13px;
	border: 1px solid #ffd6dd;
	border-radius: 10px;
	background: #fff;
	color: #9f1239;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 17px;
	box-shadow: 0 12px 28px rgba(21, 34, 56, 0.16);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.ppi-cart-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ppi-archive-filter {
	display: grid;
	gap: 16px;
	width: 100%;
	padding: 24px;
	border: 1px solid var(--ppi-archive-filter-border, #d7e3f2);
	border-radius: 10px;
	background: var(--ppi-archive-filter-bg, #eaf6ff);
	color: var(--ppi-archive-filter-text, #152238);
	font-family: Inter, sans-serif;
	box-shadow: 0 6px 16px rgba(21, 34, 56, 0.14);
	box-sizing: border-box;
}

.ppi-archive-filter-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--ppi-archive-filter-border, #d7e3f2);
	border-radius: 10px;
	background: var(--ppi-archive-toggle-bg, #ffc928);
	color: var(--ppi-archive-toggle-text, #1b2a45);
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 900;
	line-height: 20px;
	box-shadow: 0 6px 16px rgba(21, 34, 56, 0.12);
	cursor: pointer;
}

.ppi-archive-filter-toggle svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.ppi-archive-filter__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ppi-archive-filter-divider, #bfd9ef);
}

.ppi-archive-filter__head svg {
	width: 25px;
	height: 25px;
	fill: var(--ppi-archive-filter-icon, #2694d8);
	flex: 0 0 auto;
}

.ppi-archive-filter__head strong {
	font-size: 24px;
	font-weight: 900;
	line-height: 30px;
}

.ppi-archive-filter__group {
	display: grid;
	gap: 8px;
	margin: 0;
}

.ppi-archive-filter__group > span {
	color: var(--ppi-archive-filter-text, #152238);
	font-size: 16px;
	font-weight: 900;
	line-height: 22px;
}

.ppi-archive-filter input,
.ppi-archive-filter select {
	width: 100%;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 9px;
	background: var(--ppi-archive-filter-input, #fff);
	color: var(--ppi-archive-filter-text, #152238);
	font-family: Inter, sans-serif;
	font-size: 14px;
	line-height: 20px;
	box-shadow: none;
	box-sizing: border-box;
}

.ppi-archive-filter__price {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
}

.ppi-archive-filter__price b {
	color: var(--ppi-archive-filter-sep, #b8dff8);
	text-align: center;
}

.ppi-archive-filter__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 9px;
	background: var(--ppi-archive-filter-button, #ffc928);
	color: var(--ppi-archive-filter-button-t, #1b2a45);
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 900;
	line-height: 20px;
	cursor: pointer;
}

.ppi-archive-filter__submit:hover,
.ppi-archive-filter__submit:focus {
	background: var(--ppi-archive-filter-button-h, #ffb800);
	color: var(--ppi-archive-filter-button-t, #1b2a45);
}

.ppi-archive-filter__reset {
	width: fit-content;
	color: var(--ppi-archive-filter-link, #1976f3);
	font-size: 14px;
	font-weight: 800;
	line-height: 20px;
	text-decoration: underline;
}


@media (max-width: 1024px) {
	.ppi-archive-filter-toggle {
		display: inline-flex;
	}

	.ppi-archive-filter-shell .ppi-archive-filter {
		display: none;
		margin-top: 10px;
		padding: 18px;
	}

	.ppi-archive-filter-shell.is-open .ppi-archive-filter {
		display: grid;
	}

	.ppi-archive-filter__head {
		display: none;
	}

	.ppi-archive-filter__group > span {
		font-size: 14px;
		line-height: 19px;
	}

	.ppi-single-card-table-wrap {
		overflow-x: visible;
	}

	.ppi-single-card-table {
		min-width: 0;
	}

	.ppi-single-card-table thead {
		display: none;
	}

	.ppi-single-card-table tbody,
	.ppi-single-card-table tr,
	.ppi-single-card-table td {
		display: block;
		box-sizing: border-box;
	}

	.ppi-single-card-table tr {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 48px;
		grid-template-areas:
			"kind buy"
			"price buy"
			"stock buy";
		align-items: center;
		column-gap: 12px;
		row-gap: 3px;
		width: 100%;
		min-height: 72px;
		padding: 12px 8px 12px 12px;
		border-bottom: 1px solid var(--ppi-card-table-border, #dfe5ee);
	}

	.ppi-single-card-table tbody tr:last-child {
		border-bottom: 0;
	}

	.ppi-single-card-table td {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 7px;
		width: 100%;
		min-width: 0;
		padding: 0;
		border: 0;
		font-size: 13px;
		line-height: 18px;
	}

	.ppi-single-card-table td::before {
		content: attr(data-label);
		color: var(--ppi-card-table-muted, #41506a);
		font-size: 11px;
		font-weight: 800;
		line-height: 14px;
		text-transform: uppercase;
	}

	.ppi-single-card-table__buy {
		grid-area: buy;
		justify-content: flex-end !important;
		align-self: center;
		width: auto;
	}

	.ppi-single-card-table__buy::before {
		display: none;
	}

	.ppi-single-card-table td:nth-child(2) {
		grid-area: kind;
	}

	.ppi-single-card-table__price {
		grid-area: price;
	}

	.ppi-single-card-table td:nth-child(4) {
		grid-area: stock;
	}

	.ppi-single-card-table__price,
	.ppi-single-card-table__price .amount {
		font-size: 15px;
		line-height: 20px;
	}

	.ppi-single-card-table .ppi-stock-pill {
		min-height: 20px;
		padding: 3px 8px;
		font-size: 9px;
		line-height: 12px;
	}

	.ppi-single-card-buy-button {
		width: 42px;
		height: 42px;
		min-height: 42px;
		padding: 0;
		border-radius: 7px;
		font-size: 0;
		line-height: 0;
	}

	.ppi-single-card-buy-button .ppi-cart-button-content {
		gap: 0;
	}

	.ppi-single-card-buy-button .ppi-cart-button-text {
		display: none;
	}

	.ppi-single-card-buy-button svg {
		width: 18px;
		height: 18px;
	}

	.ppi-single-card-buy-button--disabled {
		width: auto;
		min-width: 42px;
		padding: 0 8px;
		font-size: 9px;
		line-height: 12px;
	}
}
