/* Share store card button, fallback popup, and lightweight store card page. */

/* Share store card trigger: orange pill, used on store pages, aisle
 * listings/popups, and Today's Sales / homepage store popups. */
.ios-store-share-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8a2c, #ee7c1b);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	overflow: visible;
	box-shadow: 0 10px 26px rgba(238, 124, 27, 0.28);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.ios-store-share-trigger,
.ios-store-share-trigger:link,
.ios-store-share-trigger:visited,
.ios-store-share-trigger:hover,
.ios-store-share-trigger:focus,
.ios-store-share-trigger:focus-visible,
.ios-store-share-trigger:active {
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(135deg, #ff8a2c, #ee7c1b) !important;
	border-color: transparent !important;
}

.ios-store-share-trigger:hover,
.ios-store-share-trigger:focus-visible {
	background: #ee7c1b !important;
	box-shadow: 0 6px 14px rgba(238, 124, 27, 0.28);
	outline: 0;
}

.ios-store-share-trigger i,
.ios-store-share-trigger .fa {
	margin-right: 0;
	color: #fff !important;
}

/* Today's Sales and homepage store popups: space between the postage
 * box above and the link list below. */
.ios-popup-share {
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	margin: 15px 0;
	padding: 0;
}

.ios-popup-share .ios-store-share-trigger {
	display: flex;
	width: 100%;
}

/* Aisle popups, aisle listings, and store pages: same pill as Today's
 * Sales (padding 10px 18px, radius 999px, auto width, centred), not a
 * full-width flat bar. !important only where aisle.css or
 * store-page.css would otherwise win. */
.store_pop_links > .ios-store-share-trigger,
.store_pop_links a.ios-store-share-trigger,
.ios-store-detail-page .store_pop_links > a.ios-store-share-trigger {
	display: inline-flex !important;
	width: auto !important;
	max-width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	min-height: 38px !important;
	height: auto !important;
	line-height: 1.2 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	justify-self: center;
	align-self: center;
	box-sizing: border-box;
	white-space: nowrap !important;
	overflow: visible;
}


body > .ios-store-share-options,
.ios-store-share-options {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 304px;
	max-width: calc(100vw - 16px);
	display: none;
	padding: 12px;
	border-radius: 14px;
	background: #081026;
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .04);
	z-index: 2147483000;
	pointer-events: auto;
	box-sizing: border-box;
	overflow: visible;
}

body > .ios-store-share-options.is-open,
.ios-store-share-options.is-open {
	display: block !important;
}

.ios-store-share-options .ios-share-heading {
	margin: 0 0 10px;
	padding: 0 2px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.3;
}

.ios-store-share-qr {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 10px;
	padding: 10px;
	background: #fff;
	border-radius: 10px;
}

.ios-store-share-qr canvas,
.ios-store-share-qr img,
.ios-store-share-qr table {
	display: block;
	width: 148px;
	height: 148px;
}

.ios-store-share-options .ios-share-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.ios-store-share-options .ios-share-option,
.ios-store-share-options .ios-share-copy,
.ios-store-share-options .ios-share-vcard {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	min-width: 0;
	min-height: 44px !important;
	height: 44px !important;
	padding: 0 12px !important;
	margin: 0 !important;
	border-radius: 10px !important;
	border: 0 !important;
	color: #fff !important;
	background: rgba(255, 255, 255, .08) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}

.ios-store-share-options .ios-share-copy,
.ios-store-share-options .ios-share-vcard {
	grid-column: 1 / -1;
	width: 100%;
}

.ios-store-share-options .ios-share-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ios-store-share-options .ios-share-icon[data-network="X"] {
	background: #000;
	border-radius: 5px;
}

.ios-store-share-options .ios-share-icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

@media (max-width: 319px) {
	.ios-store-share-options .ios-share-grid {
		grid-template-columns: 1fr;
	}
}

body.ios-store-card-page {
	margin: 0;
	min-height: 100vh;
	background: #081026;
	color: #f8fafc;
	font-family: "Manrope", "Segoe UI", sans-serif;
}

.ios-store-card {
	box-sizing: border-box;
	width: min(420px, calc(100vw - 32px));
	margin: 48px auto;
	padding: 28px 24px 32px;
	background: #101c3a;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
	text-align: center;
}

.ios-store-card__eyebrow {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, .7);
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}

.ios-store-card__logo {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin: 0 auto 16px;
	background: #fff;
	border-radius: 16px;
	padding: 10px;
	box-sizing: border-box;
}

.ios-store-card__name {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
}

.ios-store-card__off {
	display: inline-block;
	margin: 0 0 16px;
	padding: 8px 14px;
	background: #f56600;
	color: #fff;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 800;
}

.ios-store-card .ios-postage-box {
	margin: 8px 0 18px;
	padding: 12px 14px;
	text-align: left;
	background: #081026;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	color: #e2e8f0;
}

.ios-store-card .ios-postage-box__title {
	margin: 0 0 8px;
	font-weight: 800;
}

.ios-store-card .ios-postage-box ul {
	margin: 0;
	padding: 0 0 0 18px;
}

.ios-store-card .ios-postage-box__note {
	margin: 8px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .65);
}

.ios-store-card__shop {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	background: linear-gradient(135deg, #ff8a28, #f56600);
	border-radius: 13px;
	box-shadow: 0 10px 24px rgba(245, 102, 0, .25);
}
