/**
 * Fit Football — the bag drawer.
 *
 * Same rules as the product page: white ground, hairline rules, one dark
 * action, uppercase display type for the heading only. Nothing here should
 * look like it came from a different shop than the page behind it.
 */

.ffc {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.ffc[hidden] {
	display: none !important;
}

.ffc-scrim {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 14, .42);
	opacity: 0;
	transition: opacity .28s ease;
}

.ffc.is-open .ffc-scrim {
	opacity: 1;
}

.ffc-panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.ffc.is-open .ffc-panel {
	transform: translateX(0);
}

.ffc.is-busy .ffc-panel {
	opacity: .6;
	pointer-events: none;
}

/* ---- head ------------------------------------------------------------- */

.ffc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--pdp-line, #e6e6e6);
}

.ffc-head h2 {
	margin: 0;
	font-family: var(--ff-font-display, 'Anton', sans-serif);
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.ffc-count {
	color: var(--ff-ink-mute, #767676);
}

.ffc-x {
	border: 0;
	background: none;
	font-size: 1.8rem;
	line-height: 1;
	color: inherit;
	cursor: pointer;
}

/* ---- items ------------------------------------------------------------ */

.ffc-body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 6px 18px;
}

.ffc-loading {
	display: grid;
	place-content: center;
	padding: 60px 0;
}

.ffc-spin {
	width: 26px;
	height: 26px;
	border: 3px solid var(--pdp-line, #e6e6e6);
	border-top-color: var(--ff-brand-ink, #0b0f14);
	border-radius: 50%;
	animation: ffc-spin .8s linear infinite;
}

@keyframes ffc-spin {
	to { transform: rotate(360deg); }
}

.ffc-item {
	position: relative;
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--pdp-line, #e6e6e6);
}

.ffc-item-img {
	display: block;
	background: var(--pdp-soft, #f5f5f5);
	border-radius: 3px;
	overflow: hidden;
	aspect-ratio: 1;
}

.ffc-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ffc-item-main {
	min-width: 0;
	padding-right: 22px;
}

.ffc-item-name {
	display: block;
	margin-bottom: 4px;
	color: inherit;
	font-size: var(--ff-text-sm, .875rem);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.ffc-item-opt {
	display: block;
	color: var(--ff-ink-mute, #767676);
	font-size: var(--ff-text-xs, .75rem);
	line-height: 1.6;
}

.ffc-item-opt em {
	font-style: normal;
	opacity: .7;
}

.ffc-item-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.ffc-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--pdp-line, #e6e6e6);
	border-radius: 3px;
}

.ffc-qty-b {
	width: 30px;
	height: 30px;
	border: 0;
	background: none;
	font-size: 1rem;
	line-height: 1;
	color: inherit;
	cursor: pointer;
}

.ffc-qty-n {
	min-width: 26px;
	text-align: center;
	font-size: var(--ff-text-sm, .875rem);
	font-variant-numeric: tabular-nums;
}

.ffc-item-price {
	font-size: var(--ff-text-sm, .875rem);
	white-space: nowrap;
}

.ffc-item-x {
	position: absolute;
	top: 14px;
	right: 0;
	border: 0;
	background: none;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--ff-ink-mute, #767676);
	cursor: pointer;
}

.ffc-empty {
	display: grid;
	justify-items: center;
	gap: 16px;
	padding: 70px 20px;
	color: var(--ff-ink-mute, #767676);
	text-align: center;
}

/* ---- foot ------------------------------------------------------------- */

.ffc-foot {
	border-top: 1px solid var(--pdp-line, #e6e6e6);
	padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
}

.ffc-foot[hidden] {
	display: none !important;
}

.ffc-code-open {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ff-ink-mute, #767676);
	font-family: inherit;
	font-size: var(--ff-text-xs, .75rem);
	text-decoration: underline;
	cursor: pointer;
}

.ffc-code-form {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.ffc-code-form[hidden] {
	display: none !important;
}

.ffc-code-form input {
	flex: 1;
	min-width: 0;
	padding: 11px 12px;
	border: 1px solid var(--pdp-line, #e6e6e6);
	border-radius: 3px;
	font-family: inherit;
	font-size: var(--ff-text-sm, .875rem);
	text-transform: uppercase;
}

.ffc-code-form input:focus {
	outline: none;
	border-color: var(--ff-brand-ink, #0b0f14);
}

.ffc-code-form button {
	padding: 11px 16px;
	border: 1px solid var(--ff-brand-ink, #0b0f14);
	border-radius: 3px;
	background: #fff;
	font-family: inherit;
	font-size: var(--ff-text-xs, .75rem);
	font-weight: 700;
	cursor: pointer;
}

.ffc-code-msg {
	margin: 8px 0 0;
	color: #17913a;
	font-size: var(--ff-text-xs, .75rem);
}

.ffc-code-msg.is-bad {
	color: var(--ff-sale, #b42318);
}

.ffc-code-msg[hidden] {
	display: none !important;
}

.ffc-totals {
	margin: 14px 0 0;
}

.ffc-totals > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding: 4px 0;
	color: var(--ff-ink-mute, #767676);
	font-size: var(--ff-text-sm, .875rem);
}

.ffc-totals > div.is-total {
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid var(--pdp-line, #e6e6e6);
	color: var(--ff-brand-ink, #0b0f14);
	font-size: var(--ff-text-md, 1rem);
	font-weight: 700;
}

.ffc-totals dt {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ffc-totals dd {
	margin: 0;
	white-space: nowrap;
}

.ffc-coupon-x {
	border: 0;
	background: none;
	padding: 0 2px;
	color: inherit;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	opacity: .6;
}

.ffc-actions {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 8px;
	margin-top: 14px;
}

.ffc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 14px;
	border: 0;
	border-radius: 3px;
	background: var(--ff-brand-ink, #0b0f14);
	color: #fff;
	font-family: inherit;
	font-size: var(--ff-text-sm, .875rem);
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
}

.ffc-btn.is-quiet {
	background: #fff;
	border: 1px solid var(--pdp-line, #e6e6e6);
	color: var(--ff-brand-ink, #0b0f14);
}

.ffc-safe {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--ff-ink-mute, #767676);
	font-size: var(--ff-text-xs, .75rem);
}

/* ---- the bag in the express sheet -------------------------------------- */

.pdp-xpf-lines {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	border: 1px solid var(--pdp-line, #e6e6e6);
	border-radius: 5px;
}

.pdp-xpf-lines[hidden] {
	display: none !important;
}

.pdp-xpf-lines li {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 14px;
	text-align: left;
}

.pdp-xpf-lines li + li {
	border-top: 1px solid var(--pdp-line, #e6e6e6);
}

.pdp-xpf-line-l strong {
	display: block;
	font-size: var(--ff-text-sm, .875rem);
	font-weight: 600;
	line-height: 1.35;
}

.pdp-xpf-line-l span {
	display: block;
	margin-top: 2px;
	color: var(--ff-ink-mute, #767676);
	font-size: var(--ff-text-xs, .75rem);
}

.pdp-xpf-line-p {
	font-size: var(--ff-text-sm, .875rem);
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.ffc-panel {
		width: 100%;
	}
}
