/* PALMFIT Store 1.3.0 — Match the outfit */

/* The old heading and upsell card are replaced by this block. */
body.pfmo-on .summary .shop-the-look-heading,
body.pfmo-on .summary .up-sells {
	display: none !important;
}

.pfmo {
	--pfmo-ink: #212322;
	--pfmo-red: #ED1B2E;
	box-sizing: border-box;
	margin: 32px 0 24px;
	padding: 20px;
	border: 1.5px solid var(--pfmo-ink);
	border-radius: 12px;
	background: #F3F4F4;
	color: var(--pfmo-ink);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pfmo *,
.pfmo *::before,
.pfmo *::after {
	box-sizing: border-box;
}

.pfmo .pfmo-h {
	margin: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pfmo-red);
}

.pfmo-item {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pfmo-item + .pfmo-item {
	padding-top: 16px;
	border-top: 1px solid #D0D3D4;
}

.pfmo-row {
	display: flex;
	gap: 14px;
	align-items: center;
}

.pfmo-img {
	flex: none;
	width: 72px;
	height: 96px;
	border-radius: 8px;
	overflow: hidden;
	background: #E7E7E7;
}

.pfmo-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.pfmo-t {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	line-height: 1.3;
}

.pfmo .pfmo-name {
	color: var(--pfmo-ink);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.pfmo .pfmo-name:hover { text-decoration: underline; }

.pfmo-meta { font-size: 14px; color: #454B4F; }
.pfmo-meta .pfmo-p,
.pfmo-meta .pfmo-p * { color: inherit; font-size: inherit; font-weight: inherit; }
.pfmo-meta .pfmo-p ins { text-decoration: none; color: #D51829; font-weight: 600; }

.pfmo-warn {
	font-size: 13px;
	font-weight: 600;
	color: #D51829;
}

.pfmo-warn:empty { display: none; }

/* Colour tiles: each colour's own photo, full height so nothing is cropped. */
.pfmo-dots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pfmo .pfmo-dot {
	position: relative;
	flex: none;
	width: 36px;
	height: 48px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #E7E7E7;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.pfmo .pfmo-dot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
	margin: 0;
}

.pfmo .pfmo-dot[aria-pressed="true"] {
	box-shadow: 0 0 0 2px #F3F4F4, 0 0 0 3.5px var(--pfmo-ink);
}

.pfmo .pfmo-dot.is-out img { opacity: .4; }

.pfmo .pfmo-dot.is-out::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -3px;
	bottom: -3px;
	width: 1.5px;
	margin-left: -.75px;
	background: #5E666B;
	transform: rotate(36deg);
}

.pfmo-buy {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pfmo-sh {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.pfmo-sizes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
	gap: 8px;
}

.pfmo .pfmo-size {
	width: 100%;
	min-width: 0;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0 4px;
	border: 1.5px solid var(--pfmo-ink);
	border-radius: 10px;
	background: var(--pfmo-ink);
	color: #FFFFFF;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}

.pfmo .pfmo-size:hover:not(:disabled) {
	background: #ED1B2E;
	border-color: #ED1B2E;
	color: #FFFFFF;
	transform: translateY(-2px);
}

.pfmo .pfmo-size:focus-visible { outline: 2px solid var(--pfmo-ink); outline-offset: 2px; }

.pfmo .pfmo-size:disabled {
	background: transparent;
	border: 1.5px dashed #8E969A;
	color: #7A8287;
	text-decoration: line-through;
	cursor: not-allowed;
}

.pfmo .pfmo-size.is-busy { opacity: .6; cursor: progress; }

.pfmo .pfmo-size.is-added,
.pfmo .pfmo-size.is-added:hover:not(:disabled) {
	background: #1E6B45;
	border-color: #1E6B45;
	color: #FFFFFF;
}

.pfmo .pfmo-size.is-one { grid-column: 1 / -1; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }

.pfmo-out {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: #D51829;
}

.pfmo .pfmo-opt {
	grid-column: 1 / -1;
	color: var(--pfmo-ink);
	font-weight: 600;
	text-decoration: underline;
}

.pfmo-msg {
	margin: 0;
	font-size: 13px;
	color: #454B4F;
}

.pfmo-msg:empty { display: none; }
.pfmo-msg.is-error { color: #D51829; font-weight: 600; }
