.phorte-cart,
.phorte-mini-cart {
	--phorte-cart-blue: #16345f;
	--phorte-cart-red: #f43d45;
	--phorte-cart-green: #08b957;
	--phorte-cart-text: #17243a;
	--phorte-cart-muted: #667085;
	--phorte-cart-border: #e0e5ec;
	--phorte-cart-surface: #ffffff;
	--phorte-cart-soft: #f5f7fa;
	--phorte-cart-radius: 18px;
	--phorte-cart-item-gap: 18px;
	font-family: inherit;
}

.phorte-cart {
	box-sizing: border-box;
	color: var(--phorte-cart-text);
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr);
	gap: 24px;
	width: 100%;
}

.phorte-cart *,
.phorte-mini-cart * {
	box-sizing: border-box;
}

.phorte-cart a,
.phorte-mini-cart a {
	color: inherit;
	text-decoration: none;
}

.phorte-cart__items-card,
.phorte-cart__summary {
	background: var(--phorte-cart-surface);
	border: 1px solid var(--phorte-cart-border);
	border-radius: var(--phorte-cart-radius);
	box-shadow: 0 12px 30px rgba(22, 52, 95, .07);
}

.phorte-cart__items-card {
	min-width: 0;
	padding: 24px;
}

.phorte-cart__table-head {
	align-items: center;
	border-bottom: 1px solid var(--phorte-cart-border);
	color: var(--phorte-cart-blue);
	display: grid;
	font-size: 11px;
	font-weight: 800;
	grid-template-columns: minmax(0, 1fr) 110px 34px;
	letter-spacing: .08em;
	padding: 0 0 14px;
	text-transform: uppercase;
}

.phorte-cart__table-head span:nth-child(2),
.phorte-cart__item-price,
.phorte-cart__item-subtotal {
	text-align: right;
}

.phorte-cart__items-list {
	display: grid;
}

.phorte-cart__item {
	align-items: center;
	border-bottom: 1px solid var(--phorte-cart-border);
	display: grid;
	gap: var(--phorte-cart-item-gap);
	grid-template-columns: 92px minmax(0, 1fr) 110px 34px;
	min-width: 0;
	padding: 18px 0;
}

.phorte-cart__item-image {
	display: block;
	height: 92px;
	min-width: 0;
	width: 92px;
}

.phorte-cart__image,
.phorte-cart__image img,
.phorte-mini-cart__image-inner,
.phorte-mini-cart__image-inner img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.phorte-cart__image,
.phorte-cart__image--empty,
.phorte-mini-cart__image-inner,
.phorte-mini-cart__image--empty {
	background: var(--phorte-cart-soft);
	border-radius: 12px;
	overflow: hidden;
}

.phorte-cart__item-info {
	min-width: 0;
}

.phorte-cart__eyebrow {
	color: var(--phorte-cart-red);
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.phorte-cart__item-info h3,
.phorte-cart__item-info h3 a {
	color: var(--phorte-cart-blue);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.phorte-cart__teacher,
.phorte-mini-cart__teacher {
	color: var(--phorte-cart-muted);
	font-size: 13px;
	margin: 7px 0 0;
}

.phorte-cart__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 10px;
}

.phorte-cart__meta-item {
	align-items: center;
	border: 1px solid var(--phorte-cart-border);
	border-radius: 999px;
	color: var(--phorte-cart-muted);
	display: inline-flex;
	font-size: 11px;
	gap: 5px;
	line-height: 1;
	padding: 7px 9px;
}

.phorte-cart__meta-item--blue {
	background: #edf4ff;
	border-color: #d9e7fb;
	color: var(--phorte-cart-blue);
}

.phorte-cart__benefits,
.phorte-mini-cart__benefits {
	border-top: 1px solid var(--phorte-cart-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 14px;
	padding-top: 13px;
}

.phorte-cart__benefit,
.phorte-mini-cart__benefit {
	align-items: flex-start;
	color: var(--phorte-cart-muted);
	display: inline-flex;
	font-size: 11px;
	font-weight: 600;
	gap: 6px;
}

.phorte-cart__benefit svg,
.phorte-mini-cart__benefit svg {
	color: var(--phorte-cart-green);
	flex: 0 0 auto;
	margin-top: 1px;
}

.phorte-cart__item-price,
.phorte-cart__item-subtotal {
	color: var(--phorte-cart-blue);
	font-size: 13px;
	font-weight: 800;
}

.phorte-cart__remove,
.phorte-mini-cart__remove {
	align-items: center;
	background: var(--phorte-cart-surface);
	border: 1px solid var(--phorte-cart-border);
	border-radius: 8px;
	color: var(--phorte-cart-muted);
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.phorte-cart__remove:hover,
.phorte-mini-cart__remove:hover,
.phorte-mini-cart__close:hover {
	background: #fff3f3;
	border-color: #ffc5c8;
	color: var(--phorte-cart-red);
}

.phorte-cart__coupon-form {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 18px;
}

.phorte-cart__coupon-input {
	border: 1px solid #cfd6df;
	border-radius: 8px;
	color: var(--phorte-cart-text);
	font: inherit;
	min-height: 44px;
	padding: 0 12px;
	width: 180px;
}

.phorte-cart__button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 9px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 18px;
	text-align: center;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.phorte-cart__button:hover,
.phorte-mini-cart__button:hover {
	transform: translateY(-1px);
}

.phorte-cart__button--primary {
	background: var(--phorte-cart-red);
	box-shadow: 0 10px 20px rgba(244, 61, 69, .17);
	color: #fff !important;
}

.phorte-cart__button--primary:hover,
.phorte-mini-cart__button--primary:hover {
	background: #da2f38;
	color: #fff !important;
}

.phorte-cart__button--soft {
	background: #edf2f7;
	color: var(--phorte-cart-blue) !important;
}

.phorte-cart__button--soft:hover {
	background: #e0e8f1;
	color: var(--phorte-cart-blue) !important;
}

.phorte-cart__button--outline {
	background: var(--phorte-cart-surface);
	border-color: #ccd4df;
	color: var(--phorte-cart-blue) !important;
}

.phorte-cart__button--outline:hover {
	background: var(--phorte-cart-blue);
	border-color: var(--phorte-cart-blue);
	color: #fff !important;
}

.phorte-cart__summary {
	align-self: start;
	padding: 24px;
	position: sticky;
	top: 24px;
}

.phorte-cart__summary-heading {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.phorte-cart__summary h2 {
	color: var(--phorte-cart-blue);
	font-size: 22px;
	font-weight: 800;
	margin: 0;
}

.phorte-cart__secure-badge {
	background: #e5f8ed;
	border-radius: 999px;
	color: #088b44;
	font-size: 10px;
	font-weight: 800;
	padding: 6px 10px;
	text-transform: uppercase;
}

.phorte-cart__coupon-content {
	margin-top: 18px;
}

.phorte-cart__coupon-list {
	background: #fff6f6;
	border: 1px dashed #ff9da2;
	border-radius: 11px;
	padding: 14px;
}

.phorte-cart__coupon-row {
	align-items: center;
	color: var(--phorte-cart-text);
	display: flex;
	font-size: 12px;
	font-weight: 700;
	gap: 8px;
	justify-content: space-between;
}

.phorte-cart__coupon-discount {
	color: var(--phorte-cart-red);
	font-size: 12px;
	margin-left: auto;
}

.phorte-cart__coupon-remove {
	align-items: center;
	color: #181818 !important;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	font-size: 0;
	width: 24px;
}

.phorte-cart__coupon-remove:hover {
	color: var(--phorte-cart-red) !important;
}

.phorte-cart__coupon-remove svg,
.phorte-mini-cart__coupon-remove svg {
	color: inherit;
	display: block;
	fill: none;
	height: 14px;
	stroke: currentColor;
	width: 14px;
}

.phorte-cart__totals {
	margin-top: 18px;
}

.phorte-cart__total-row {
	align-items: center;
	border-bottom: 1px solid var(--phorte-cart-border);
	color: var(--phorte-cart-muted);
	display: flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: space-between;
	padding: 13px 0;
}

.phorte-cart__total-row strong {
	color: var(--phorte-cart-blue);
}

.phorte-cart__total-row--discount,
.phorte-cart__total-row--discount strong {
	color: var(--phorte-cart-red);
}

.phorte-cart__total-row--grand {
	border-bottom: 0;
	font-size: 20px;
	padding-bottom: 20px;
	padding-top: 20px;
}

.phorte-cart__checkout {
	margin-top: 4px;
	width: 100%;
}

.phorte-cart__checkout span {
	display: inline-block;
	margin-left: 7px;
}

.phorte-cart__summary > .phorte-cart__button--outline {
	margin-top: 10px;
	width: 100%;
}

.phorte-cart__protected {
	align-items: center;
	color: var(--phorte-cart-muted);
	display: flex;
	font-size: 11px;
	gap: 7px;
	margin: 18px 0 0;
}

.phorte-cart__protected span {
	color: var(--phorte-cart-green);
	font-size: 17px;
}

.phorte-cart--empty {
	align-items: center;
	background: var(--phorte-cart-surface);
	border: 1px solid var(--phorte-cart-border);
	border-radius: var(--phorte-cart-radius);
	display: flex;
	flex-direction: column;
	gap: 14px;
	justify-content: center;
	min-height: 260px;
	padding: 40px;
	text-align: center;
}

.phorte-cart--empty h2 {
	color: var(--phorte-cart-blue);
	font-size: 20px;
	margin: 0;
}

.phorte-cart__empty-icon {
	align-items: center;
	background: #edf4ff;
	border-radius: 50%;
	color: var(--phorte-cart-blue);
	display: inline-flex;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.phorte-cart--editor-preview {
	display: block;
	padding: 30px;
}

.phorte-cart--editor-preview .phorte-cart__empty {
	color: var(--phorte-cart-muted);
	font-size: 14px;
	text-align: center;
}

.phorte-mini-cart {
	display: inline-flex;
	position: relative;
}

.phorte-mini-cart__toggle,
.phorte-mini-cart__close {
	align-items: center;
	background: var(--phorte-cart-surface);
	border: 1px solid var(--phorte-cart-border);
	color: var(--phorte-cart-text);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	justify-content: center;
}

.phorte-mini-cart__toggle {
	background: #fff !important;
	border: 1px solid var(--phorte-cart-border) !important;
	border-radius: 10px;
	color: var(--phorte-cart-text) !important;
	height: 44px;
	position: relative;
	width: 44px;
}

.phorte-mini-cart__toggle svg {
	display: block;
	color: inherit !important;
	fill: none !important;
	flex: 0 0 auto;
	height: 21px;
	stroke: currentColor !important;
	width: 21px;
}

.phorte-mini-cart__toggle:hover,
.phorte-mini-cart__toggle[aria-expanded="true"] {
	border-color: #ffafb3;
	color: var(--phorte-cart-red);
}

.phorte-mini-cart__count {
	align-items: center;
	background: var(--phorte-cart-red);
	border: 2px solid var(--phorte-cart-surface);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 800;
	height: 20px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding: 0 4px;
	position: absolute;
	right: -7px;
	top: -8px;
}

.phorte-mini-cart__panel {
	background: var(--phorte-cart-surface);
	border: 1px solid var(--phorte-cart-border);
	border-radius: var(--phorte-mini-cart-radius, 14px);
	box-shadow: 0 18px 45px rgba(14, 25, 42, .18);
	color: var(--phorte-cart-text);
	position: absolute;
	right: 0;
	top: calc(100% + 14px);
	width: var(--phorte-mini-cart-width, 410px);
	z-index: 9999;
}

.phorte-mini-cart__panel[hidden] {
	display: none;
}

.phorte-mini-cart__header {
	align-items: flex-start;
	background: #f7f9fb;
	border-bottom: 1px solid var(--phorte-cart-border);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 16px 18px;
}

.phorte-mini-cart__header > div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.phorte-mini-cart__header strong {
	color: var(--phorte-cart-blue);
	font-size: 15px;
}

.phorte-mini-cart__count-label {
	color: var(--phorte-cart-muted);
	font-size: 11px;
}

.phorte-mini-cart__active-label {
	background: #e4f8ed;
	border-radius: 999px;
	color: #078b42;
	font-size: 9px;
	font-weight: 800;
	padding: 5px 8px;
	text-transform: uppercase;
	white-space: nowrap;
}

.phorte-mini-cart__close {
	background: transparent;
	border: 0;
	color: var(--phorte-cart-muted);
	height: 28px;
	margin: -4px -4px 0 0;
	width: 28px;
}

.phorte-mini-cart__close {
	background: transparent !important;
	border: 0 !important;
	color: var(--phorte-cart-muted) !important;
}

.phorte-mini-cart__close svg {
	color: inherit !important;
	display: block;
	fill: none !important;
	flex: 0 0 auto;
	height: 20px;
	stroke: currentColor !important;
	width: 20px;
}

.phorte-mini-cart__items {
	max-height: 315px;
	overflow-y: auto;
	padding: 8px 18px 0;
}

.phorte-mini-cart__item {
	align-items: flex-start;
	border-bottom: 1px solid var(--phorte-cart-border);
	display: grid;
	gap: 10px;
	grid-template-columns: 64px minmax(0, 1fr) 28px;
	padding: 12px 0;
}

.phorte-mini-cart__image {
	display: block;
	height: 64px;
	width: 64px;
}

.phorte-mini-cart__image-inner {
	height: 64px;
	width: 64px;
}

.phorte-mini-cart__item-info {
	min-width: 0;
}

.phorte-mini-cart__item-info h3,
.phorte-mini-cart__item-info h3 a {
	color: var(--phorte-cart-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
}

.phorte-mini-cart__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 7px;
}

.phorte-mini-cart__meta .phorte-cart__meta-item {
	font-size: 10px;
	padding: 5px 7px;
}

.phorte-mini-cart__price {
	color: var(--phorte-cart-muted);
	font-size: 11px;
	margin: 7px 0 0;
}

.phorte-mini-cart__remove {
	height: 28px;
	width: 28px;
}

.phorte-mini-cart__empty {
	color: var(--phorte-cart-muted);
	font-size: 13px;
	margin: 18px 0;
	text-align: center;
}

.phorte-mini-cart__coupon-content {
	padding: 14px 18px 0;
}

.phorte-mini-cart__coupon-heading {
	align-items: center;
	background: #fff6f6;
	border: 1px dashed #ff9da2;
	border-radius: 10px;
	color: var(--phorte-cart-text);
	display: flex;
	font-size: 11px;
	justify-content: space-between;
	padding: 12px;
}

.phorte-mini-cart__coupon-heading strong:last-child {
	color: var(--phorte-cart-red);
}

.phorte-mini-cart__coupon-note {
	color: var(--phorte-cart-muted);
	font-size: 11px;
	line-height: 1.4;
	margin: 7px 12px 0;
}

.phorte-mini-cart__coupon-remove {
	align-items: center;
	color: #181818 !important;
	display: flex;
	height: 24px;
	justify-content: center;
	margin: 7px 12px 0 auto;
	width: 24px;
}

.phorte-mini-cart__coupon-remove:hover {
	color: var(--phorte-cart-red);
}

.phorte-mini-cart__coupon-list {
	display: none;
}

.phorte-mini-cart__totals {
	padding: 14px 18px 0;
}

.phorte-mini-cart__totals > div {
	align-items: center;
	color: var(--phorte-cart-muted);
	display: flex;
	font-size: 12px;
	font-weight: 700;
	justify-content: space-between;
	padding: 7px 0;
}

.phorte-mini-cart__totals .phorte-mini-cart__discount-row,
.phorte-mini-cart__totals .phorte-mini-cart__discount-row .phorte-mini-cart__discount-value {
	color: var(--phorte-cart-red);
}

.phorte-mini-cart__totals .phorte-mini-cart__grand-total {
	border-top: 1px solid var(--phorte-cart-border);
	color: var(--phorte-cart-blue);
	font-size: 18px;
	margin-top: 5px;
	padding-top: 14px;
}

.phorte-mini-cart__benefits {
	border-top: 0;
	display: grid;
	gap: 8px;
	margin: 8px 18px 0;
	padding: 0;
}

.phorte-mini-cart__buttons {
	display: grid;
	gap: 8px;
	padding: 16px 18px 18px;
}

.phorte-mini-cart__button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 8px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	min-height: 40px;
	padding: 9px 12px;
	text-align: center;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.phorte-mini-cart__button--primary {
	background: var(--phorte-cart-red);
	box-shadow: 0 8px 16px rgba(244, 61, 69, .17);
	color: #fff !important;
}

.phorte-mini-cart__button--outline {
	background: var(--phorte-cart-surface);
	border-color: var(--phorte-cart-border);
	color: var(--phorte-cart-blue) !important;
}

.phorte-mini-cart__button--outline:hover {
	background: var(--phorte-cart-blue);
	border-color: var(--phorte-cart-blue);
	color: #fff !important;
}

.phorte-cart .screen-reader-text,
.phorte-mini-cart .screen-reader-text {
	border: 0;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.phorte-cart button:focus-visible,
.phorte-cart a:focus-visible,
.phorte-mini-cart button:focus-visible,
.phorte-mini-cart a:focus-visible,
.phorte-cart input:focus-visible {
	box-shadow: 0 0 0 3px rgba(244, 61, 69, .24);
	outline: 2px solid var(--phorte-cart-red);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.phorte-cart {
		grid-template-columns: 1fr;
	}

	.phorte-cart__summary {
		position: static;
	}
}

@media (max-width: 680px) {
	.phorte-cart__items-card,
	.phorte-cart__summary {
		padding: 16px;
	}

	.phorte-cart__table-head {
		display: none;
	}

	.phorte-cart__item {
		grid-template-columns: 72px minmax(0, 1fr) 30px;
		padding: 16px 0;
	}

	.phorte-cart__item-image {
		height: 72px;
		width: 72px;
	}

	.phorte-cart__item-price,
	.phorte-cart__item-subtotal {
		font-size: 12px;
		grid-column: 2;
		text-align: left;
	}

	.phorte-cart__item-price::before {
		color: var(--phorte-cart-muted);
		content: 'Valor: ';
		font-weight: 600;
	}

	.phorte-cart__item-subtotal::before {
		color: var(--phorte-cart-muted);
		content: 'Subtotal: ';
		font-weight: 600;
	}

	.phorte-cart__remove {
		grid-column: 3;
		grid-row: 1;
	}

	.phorte-cart__coupon-input {
		flex: 1 1 160px;
		width: auto;
	}

	.phorte-mini-cart__panel {
		max-width: calc(100vw - 16px);
		position: fixed;
		right: 8px;
		top: 72px;
		width: min(var(--phorte-mini-cart-width, 410px), calc(100vw - 16px));
	}
}
