/* Fri frakt-plugin: the free-shipping card. Scoped to .dryg-ff. */
.dryg-ff {
	--dryg-ff-orange: #ff6900;
	--dryg-ff-orange-text: #cc4400; /* 4.8:1 on white, for the amount */
	--dryg-ff-green: #2e7d32;
	--dryg-ff-ink: #1f2933;
	--dryg-ff-muted: #5b6670;
	box-sizing: border-box;
	margin: 0 0 16px;
	padding: 14px 16px 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
	color: var(--dryg-ff-ink);
	font-family: inherit;
	line-height: 1.4;
	text-align: left;
}
.dryg-ff *,
.dryg-ff *::before,
.dryg-ff *::after { box-sizing: border-box; }
.dryg-ff p { margin: 0; padding: 0; }
.dryg-ff__head { display: flex; align-items: center; gap: 12px; }
.dryg-ff__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff1e6;
	color: var(--dryg-ff-orange);
}
.dryg-ff__icon svg { display: block; }
.dryg-ff__text { min-width: 0; }
.dryg-ff__title,
.dryg-ff__sub { overflow-wrap: anywhere; }
.dryg-ff__title { font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--dryg-ff-ink); }
.dryg-ff__title em { font-style: normal; color: var(--dryg-ff-orange-text); white-space: nowrap; }
.dryg-ff .dryg-ff__sub { margin-top: 2px; font-size: 13px; color: var(--dryg-ff-muted); }

.dryg-ff__track { position: relative; height: 10px; margin: 14px 4px 6px; border-radius: 99px; background: #eef1f4; }
.dryg-ff__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	border-radius: 99px;
	background: linear-gradient(90deg, #ff8a33, var(--dryg-ff-orange));
}
.dryg-ff__truck {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	color: var(--dryg-ff-orange);
	transform: translate(-50%, -50%);
}
.dryg-ff__truck svg { width: 15px; height: 15px; }
.dryg-ff__ends { display: flex; justify-content: space-between; gap: 8px; margin: 0 2px; font-size: 11.5px; color: var(--dryg-ff-muted); }

/* Free */
.dryg-ff--free { background: #eaf6ec; border: 1px solid #cbe7cf; box-shadow: none; }
.dryg-ff--free .dryg-ff__icon { background: #fff; color: var(--dryg-ff-green); }
.dryg-ff--free .dryg-ff__title { color: var(--dryg-ff-green); }

/* Heavy and special: information, no promise */
.dryg-ff--heavy,
.dryg-ff--special { background: #f3f5f7; border: 1px solid #dce3ea; box-shadow: none; }
.dryg-ff--heavy .dryg-ff__icon,
.dryg-ff--special .dryg-ff__icon { background: #fff; color: var(--dryg-ff-muted); }
.dryg-ff--heavy .dryg-ff__title,
.dryg-ff--special .dryg-ff__title { font-size: 15px; }

/* Cart side panel: narrower */
.dryg-ff--mini { margin: 12px 0; padding: 12px 12px 13px; border-radius: 12px; }
.dryg-ff--mini .dryg-ff__head { gap: 10px; }
.dryg-ff--mini .dryg-ff__icon { width: 34px; height: 34px; }
.dryg-ff--mini .dryg-ff__icon svg { width: 19px; height: 19px; }
.dryg-ff--mini .dryg-ff__title { font-size: 15px; }
.dryg-ff--mini.dryg-ff--heavy .dryg-ff__title,
.dryg-ff--mini.dryg-ff--special .dryg-ff__title { font-size: 14px; }
.dryg-ff--mini .dryg-ff__sub,
.dryg-ff.dryg-ff--mini .dryg-ff__sub { font-size: 12.5px; }
.dryg-ff--mini .dryg-ff__track { margin-top: 12px; }

/* Checkout */
.dryg-ff-slot--checkout .dryg-ff { margin: 0 0 18px; }

@media (max-width: 480px) {
	.dryg-ff { padding: 12px 13px 14px; }
	.dryg-ff__title { font-size: 16px; }
}
