/* Pro Primes cart — responsive desktop/mobile reference reproduction. */

body.woocommerce-cart,
body.woocommerce-cart .pp-site {
	background: #f6f7fb;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-cart .pp-main.pp-container.pp-content,
body.woocommerce-cart .pp-main,
body.woocommerce-cart .pp-content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
	background: transparent;
}

body.woocommerce-cart .woocommerce {
	display: block !important;
}

body.woocommerce-cart .pp-content > article {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.woocommerce-cart .pp-content > article > h1 {
	display: none;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
	width: min(1240px, calc(100% - 48px));
	margin: 24px auto 0;
}

body.woocommerce-cart .woocommerce-notices-wrapper > * {
	padding: 14px 18px;
	border: 0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(21, 33, 61, .07);
}

.pp-cart-page {
	width: min(1240px, calc(100% - 48px));
	margin-inline: auto;
	padding: 54px 0 110px;
	direction: rtl;
	color: #151c35;
}

.pp-cart-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}

.pp-cart-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #e8f1ff;
	color: #1268e8;
	font-size: 12px;
	font-weight: 800;
}

.pp-cart-hero h1 {
	margin: 12px 0 5px;
	color: #121a36;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 900;
	letter-spacing: -.8px;
	line-height: 1.2;
}

.pp-cart-hero p {
	margin: 0;
	color: #7b8294;
	font-size: 15px;
	font-weight: 600;
}

.pp-cart-hero__continue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 45px;
	padding: 0 18px;
	border: 1px solid #e2e6ef;
	border-radius: 13px;
	background: #fff;
	color: #28314f;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 7px 22px rgba(21, 33, 61, .05);
}

.pp-cart-hero__continue:hover {
	border-color: #176fec;
	color: #176fec;
}

.pp-cart-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 386px;
	grid-template-areas: "main aside";
	align-items: start;
	gap: 28px;
}

.pp-cart-main {
	grid-area: main;
	min-width: 0;
	padding: 25px;
	border: 1px solid #eceef4;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 38px rgba(19, 29, 57, .06);
}

.pp-cart-section-head,
.pp-cart-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 19px;
	border-bottom: 1px solid #edf0f5;
}

.pp-cart-section-head h2,
.pp-cart-summary__head h2 {
	margin: 0;
	color: #171e37;
	font-size: 18px;
	font-weight: 900;
}

.pp-cart-section-head > span,
.pp-cart-summary__head > span {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	background: #f0f3f8;
	color: #747c90;
	font-size: 11px;
	font-weight: 800;
}

.pp-cart-items {
	display: flex;
	flex-direction: column;
}

.pp-cart-item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid #edf0f5;
}

.pp-cart-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.pp-cart-item__media,
.pp-cart-item__media a {
	display: block;
	width: 100%;
}

.pp-cart-item__media {
	min-height: 150px;
	border-radius: 17px;
	overflow: hidden;
	background: #f2f4f8;
}

.pp-cart-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 150px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.pp-cart-item__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pp-cart-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.pp-cart-item__heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	min-width: 0;
}

.pp-cart-item__badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 9px;
	border-radius: 8px;
	background: #e9f7ef;
	color: #119657;
	font-size: 10px;
	font-weight: 900;
	white-space: nowrap;
}

.pp-cart-item__name {
	margin: 0;
	color: #151c35;
	font-size: 17px;
	font-weight: 900;
	line-height: 1.5;
}

.pp-cart-item__name a {
	color: inherit;
	text-decoration: none;
}

body.woocommerce-cart .pp-cart-page a.pp-cart-item__remove.remove {
	display: grid !important;
	place-items: center;
	flex: 0 0 36px;
	width: 36px !important;
	height: 36px !important;
	margin: -4px 0 0 !important;
	border-radius: 11px !important;
	background: #fff1f3 !important;
	color: #e23b55 !important;
	font-size: 0 !important;
	text-decoration: none;
}

body.woocommerce-cart .pp-cart-page a.pp-cart-item__remove.remove:hover {
	background: #e23b55 !important;
	color: #fff !important;
}

.pp-cart-item__description {
	max-width: 570px;
	margin: 9px 0 0;
	color: #858c9d;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.85;
}

.pp-cart-item__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.pp-cart-item__chips span {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0 10px;
	border-radius: 8px;
	background: #f1f5fb;
	color: #59647a;
	font-size: 10px;
	font-weight: 800;
}

.pp-cart-item__chips span::before {
	content: "✓";
	margin-left: 5px;
	color: #176fec;
	font-size: 10px;
}

.pp-cart-item__meta {
	margin-top: 6px;
	color: #7f8798;
	font-size: 11px;
}

.pp-cart-item__meta:empty {
	display: none;
}

.pp-cart-item__meta dl,
.pp-cart-item__meta p {
	margin: 0;
}

.pp-cart-item__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 17px;
}

.pp-qty {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	direction: ltr;
	padding: 4px;
	border: 1px solid #e3e7ef;
	border-radius: 11px;
	background: #f7f8fb;
}

.pp-qty__btn {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #1c2742;
	font: 800 18px/1 Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(21, 33, 61, .09);
}

.pp-qty__btn:hover:not(:disabled) {
	background: #176fec;
	color: #fff;
}

.pp-qty__btn:disabled {
	opacity: .38;
	cursor: not-allowed;
}

.pp-qty .quantity {
	display: inline-flex;
}

.pp-qty .qty {
	width: 34px !important;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #151c35;
	font-size: 13px;
	font-weight: 900;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.pp-cart-item__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.pp-cart-item__total {
	color: #10182f;
	font-size: 17px;
	font-weight: 900;
	white-space: nowrap;
}

.pp-cart-item__unit {
	color: #9ca3b3;
	font-size: 10px;
	font-weight: 700;
	white-space: nowrap;
}

.pp-cart-aside {
	grid-area: aside;
	position: sticky;
	top: 22px;
	min-width: 0;
}

.pp-cart-summary {
	padding: 24px;
	border: 1px solid #eceef4;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 38px rgba(19, 29, 57, .06);
}

.pp-coupon {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 19px 0 8px;
	padding: 11px;
	border-radius: 14px;
	background: #f6f8fb;
}

.pp-coupon__icon {
	display: grid;
	place-items: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #e7f0ff;
	color: #176fec;
}

.pp-coupon__fields {
	display: flex;
	flex: 1 1 auto;
	gap: 7px;
	min-width: 0;
}

.pp-coupon .input-text {
	min-width: 0;
	height: 38px;
	flex: 1 1 auto;
	padding: 0 10px;
	border: 1px solid #e0e4ec;
	border-radius: 9px;
	background: #fff;
	color: #17203b;
	font-size: 11px;
	font-weight: 700;
}

body.woocommerce-cart .pp-cart-page .pp-coupon button.button {
	flex: 0 0 auto;
	height: 38px;
	padding: 0 13px;
	border: 0;
	border-radius: 9px;
	background: #182342;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
}

body.woocommerce-cart .pp-cart-page .pp-coupon button.button:hover {
	background: #176fec;
}

.pp-cart-summary .cart_totals,
.pp-cart-summary .shop_table {
	width: 100%;
}

.pp-cart-summary .cart_totals > h2 {
	display: none;
}

.pp-cart-summary .shop_table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.pp-cart-summary .shop_table tr {
	border-bottom: 1px dashed #e3e7ef;
}

.pp-cart-summary .shop_table tr:last-child {
	border-bottom: 0;
}

.pp-cart-summary .shop_table th,
.pp-cart-summary .shop_table td {
	padding: 13px 0;
	border: 0;
	vertical-align: middle;
}

.pp-cart-summary .shop_table th {
	color: #767e91;
	font-size: 12px;
	font-weight: 700;
	text-align: right;
}

.pp-cart-summary .shop_table td {
	color: #1b233d;
	font-size: 13px;
	font-weight: 900;
	text-align: left;
}

.pp-cart-summary .cart-discount th,
.pp-cart-summary .cart-discount td {
	color: #12a261;
}

.pp-cart-summary .order-total th {
	padding-top: 19px;
	color: #151c35;
	font-size: 14px;
	font-weight: 900;
}

.pp-cart-summary .order-total td {
	padding-top: 19px;
	color: #176fec;
	font-size: 19px;
}

.pp-cart-summary .woocommerce-remove-coupon {
	margin-right: 5px;
	color: #e23b55;
	font-size: 9px;
	text-decoration: none;
}

.pp-cart-summary .wc-proceed-to-checkout {
	margin-top: 18px;
	padding: 0;
}

body.woocommerce-cart .pp-cart-page .pp-cart-summary .wc-proceed-to-checkout a.checkout-button.button.alt {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 14px;
	background: #176fec !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 10px 23px rgba(23, 111, 236, .25);
}

body.woocommerce-cart .pp-cart-page .pp-cart-summary .wc-proceed-to-checkout a.checkout-button.button.alt:hover {
	background: #0f5fd2 !important;
}

.pp-cart-summary .checkout-button::before {
	content: "🔒";
	margin-left: 8px;
	font-size: 14px;
}

.pp-cart-trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 9px;
	margin-top: 13px;
}

.pp-cart-trust > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	border: 1px solid #e7eaf0;
	border-radius: 13px;
	background: #fff;
	color: #176fec;
}

.pp-cart-trust span {
	color: #555f76;
	font-size: 10px;
	font-weight: 800;
}

.pp-cart-update {
	display: none !important;
}

/* Empty cart uses the same visual language. */
.pp-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 13px;
	max-width: 680px;
	margin: 35px auto 0;
	padding: 55px 24px;
	border: 1px solid #eceef4;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 38px rgba(19, 29, 57, .06);
	text-align: center;
}

.pp-cart-empty__icon {
	display: grid;
	place-items: center;
	width: 86px;
	height: 86px;
	border-radius: 26px;
	background: #e8f1ff;
	color: #176fec;
}

.pp-cart-empty h2 {
	margin: 0;
	color: #151c35;
	font-size: 20px;
	font-weight: 900;
}

.pp-cart-empty p {
	max-width: 390px;
	margin: 0;
	color: #7b8294;
	font-size: 13px;
	line-height: 1.9;
}

.pp-cart-empty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 49px;
	margin-top: 5px;
	padding: 0 25px;
	border-radius: 13px;
	background: #176fec;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

/* Dark mode. */
html[data-theme="dark"] body.woocommerce-cart,
html[data-theme="dark"] body.woocommerce-cart .pp-site,
html[data-theme="dark"] body.woocommerce-cart .pp-content {
	background: #101211;
}

html[data-theme="dark"] .pp-cart-page {
	color: #f3f4f6;
}

html[data-theme="dark"] .pp-cart-main,
html[data-theme="dark"] .pp-cart-summary,
html[data-theme="dark"] .pp-cart-trust > div,
html[data-theme="dark"] .pp-cart-hero__continue,
html[data-theme="dark"] .pp-cart-empty {
	border-color: #303331;
	background: #1b1d1c;
	box-shadow: none;
}

html[data-theme="dark"] .pp-cart-hero h1,
html[data-theme="dark"] .pp-cart-section-head h2,
html[data-theme="dark"] .pp-cart-summary__head h2,
html[data-theme="dark"] .pp-cart-item__name,
html[data-theme="dark"] .pp-cart-item__total,
html[data-theme="dark"] .pp-cart-summary .shop_table td,
html[data-theme="dark"] .pp-cart-summary .order-total th,
html[data-theme="dark"] .pp-cart-empty h2 {
	color: #f3f4f6;
}

html[data-theme="dark"] .pp-cart-item,
html[data-theme="dark"] .pp-cart-section-head,
html[data-theme="dark"] .pp-cart-summary__head,
html[data-theme="dark"] .pp-cart-summary .shop_table tr {
	border-color: #303331;
}

html[data-theme="dark"] .pp-cart-item__chips span,
html[data-theme="dark"] .pp-coupon,
html[data-theme="dark"] .pp-qty {
	background: #242725;
}

html[data-theme="dark"] .pp-coupon .input-text,
html[data-theme="dark"] .pp-qty__btn {
	border-color: #363a38;
	background: #151716;
	color: #f3f4f6;
}

/* Tablet/mobile: stacked product cards and summary. */
@media (max-width: 900px) {
	.pp-cart-page {
		width: min(680px, calc(100% - 32px));
		padding-top: 34px;
	}

	.pp-cart-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "main" "aside";
		gap: 18px;
	}

	.pp-cart-aside {
		position: static;
	}
}

@media (max-width: 600px) {
	body.woocommerce-cart .woocommerce-notices-wrapper,
	.pp-cart-page {
		width: calc(100% - 28px);
	}

	.pp-cart-page {
		padding: 28px 0 calc(96px + env(safe-area-inset-bottom));
	}

	.pp-cart-hero {
		align-items: flex-start;
		margin-bottom: 23px;
	}

	.pp-cart-hero__eyebrow {
		min-height: 26px;
		font-size: 10px;
	}

	.pp-cart-hero h1 {
		margin-top: 9px;
		font-size: 34px;
	}

	.pp-cart-hero p {
		font-size: 12px;
	}

	.pp-cart-hero__continue {
		width: 42px;
		height: 42px;
		min-height: 42px;
		padding: 0;
	}

	.pp-cart-hero__continue span {
		display: none;
	}

	.pp-cart-main,
	.pp-cart-summary {
		padding: 17px;
		border-radius: 18px;
	}

	.pp-cart-section-head,
	.pp-cart-summary__head {
		padding-bottom: 14px;
	}

	.pp-cart-section-head h2,
	.pp-cart-summary__head h2 {
		font-size: 15px;
	}

	.pp-cart-item {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 13px;
		padding: 18px 0;
	}

	.pp-cart-item__media,
	.pp-cart-item__media img {
		min-height: 96px;
	}

	.pp-cart-item__media {
		align-self: start;
		border-radius: 13px;
	}

	.pp-cart-item__top {
		gap: 7px;
	}

	.pp-cart-item__heading {
		align-items: flex-start;
		gap: 6px;
	}

	.pp-cart-item__badge {
		min-height: 22px;
		font-size: 8px;
	}

	.pp-cart-item__name {
		width: 100%;
		font-size: 13px;
		line-height: 1.65;
	}

	body.woocommerce-cart .pp-cart-page a.pp-cart-item__remove.remove {
		flex-basis: 30px;
		width: 30px !important;
		height: 30px !important;
		border-radius: 9px !important;
	}

	.pp-cart-item__description {
		display: -webkit-box;
		margin-top: 6px;
		overflow: hidden;
		font-size: 10px;
		line-height: 1.7;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.pp-cart-item__chips {
		gap: 5px;
		margin-top: 9px;
	}

	.pp-cart-item__chips span {
		min-height: 23px;
		padding: 0 7px;
		font-size: 8px;
	}

	.pp-cart-item__chips span:nth-child(n+3) {
		display: none;
	}

	.pp-cart-item__foot {
		grid-column: 1 / -1;
		margin-right: -109px;
		padding-top: 13px;
	}

	.pp-qty {
		padding: 3px;
	}

	.pp-qty__btn {
		width: 28px;
		height: 28px;
	}

	.pp-qty .qty {
		height: 28px;
	}

	.pp-cart-item__total {
		font-size: 14px;
	}

	.pp-coupon {
		align-items: flex-start;
		margin-top: 15px;
		padding: 10px;
	}

	.pp-coupon__fields {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 66px;
	}

	.pp-coupon .input-text,
	body.woocommerce-cart .pp-cart-page .pp-coupon button.button {
		height: 40px;
	}

	.pp-cart-summary .shop_table th,
	.pp-cart-summary .shop_table td {
		padding-block: 11px;
	}

	.pp-cart-trust > div {
		min-height: 43px;
	}
}

@media (max-width: 370px) {
	.pp-cart-page {
		width: calc(100% - 20px);
	}

	.pp-cart-main,
	.pp-cart-summary {
		padding-inline: 13px;
	}

	.pp-cart-item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 10px;
	}

	.pp-cart-item__media,
	.pp-cart-item__media img {
		min-height: 82px;
	}

	.pp-cart-item__foot {
		margin-right: -92px;
	}
}
