.reema-product-actions {
	margin: 1.5rem 0;
	padding: 1rem;
	border: 1px solid #f1ded0;
	border-radius: 8px;
	background: #fff8f2;
	color: #252525;
}

.reema-product-actions__title {
	margin: 0 0 0.85rem;
	color: #252525;
	font-size: 1.15rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.reema-product-actions__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
}

.reema-product-actions__nearby {
	display: flex;
	width: 100%;
	flex-direction: column;
	min-width: 0;
}

.reema-product-actions__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 2.85rem;
	padding: 0.72rem 1rem;
	border: 2px solid transparent;
	border-radius: 6px;
	box-shadow: none;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 100ms ease;
}

.reema-product-actions__buttons > .reema-product-actions__button {
	flex: 1 1 12rem;
}

.reema-product-actions__noon-options,
.reema-product-actions__nearby-row {
	max-width: 100%;
	margin-top: 0.75rem;
}

.reema-product-actions__buttons--secondary > .reema-product-actions__button {
	column-gap: 0.65rem;
	min-height: 3rem;
	padding: 0.65rem 0.9rem;
	font-size: 0.95rem;
}

.reema-product-actions__buttons--secondary > .reema-product-actions__button--has-logo {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
}

.reema-product-actions__marketplace-logo {
	justify-self: center;
	width: 100%;
	max-width: 84px;
	height: 28px;
	max-height: 28px;
	object-fit: contain;
}

.reema-product-actions__button--noon-minutes .reema-product-actions__marketplace-logo {
	max-width: 80px;
}

.reema-product-actions__button-label {
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: center;
}

.reema-product-actions__availability-note {
	margin: 0.55rem 0 0;
	color: #555555;
	font-size: 0.88rem;
	line-height: 1.45;
}

.reema-product-actions__button:hover,
.reema-product-actions__button:focus {
	text-decoration: none;
}

.reema-product-actions__button:focus-visible,
.reema-product-actions-modal__close:focus-visible,
.reema-product-actions-modal__retry:focus-visible,
.reema-product-actions-modal__location-button:focus-visible,
.reema-product-actions-modal select:focus-visible,
.reema-product-actions-modal summary:focus-visible {
	outline: 3px solid #252525;
	outline-offset: 3px;
}

.reema-product-actions__button--noon-express,
.reema-product-actions__button--noon-express:visited {
	border-width: 1px;
	border-color: #ffd43b;
	background: #111827;
	color: #ffd43b;
}

.reema-product-actions__button--noon-express:hover {
	background: #1f2937;
	box-shadow: 0 0 0.65rem rgba(255, 212, 59, 0.38);
	color: #ffd43b;
}

.reema-product-actions__button--noon-express:focus,
.reema-product-actions__button--noon-express:focus-visible {
	border-color: #ffd43b;
	background: #1f2937;
	box-shadow: 0 0 0.65rem rgba(255, 212, 59, 0.38);
	color: #ffd43b;
	outline: 3px solid #ffd43b;
	outline-offset: 3px;
}

.reema-product-actions__button--noon-express:active {
	background: #0b1120;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45);
	color: #ffd43b;
	transform: translateY(1px);
}

.reema-product-actions__button--noon-supermall,
.reema-product-actions__button--noon-supermall:visited,
.reema-product-actions__button--noon-minutes,
.reema-product-actions__button--noon-minutes:visited {
	border-color: #182033;
	color: #182033;
}

.reema-product-actions__button--noon-supermall,
.reema-product-actions__button--noon-supermall:visited {
	background: #ffffff;
}

.reema-product-actions__button--noon-minutes,
.reema-product-actions__button--noon-minutes:visited {
	background: #fff3a3;
}

.reema-product-actions__button--noon-supermall:hover,
.reema-product-actions__button--noon-supermall:focus,
.reema-product-actions__button--noon-supermall:focus-visible {
	border-color: #182033;
	background: #fff4b8;
	color: #182033;
}

.reema-product-actions__button--noon-minutes:hover,
.reema-product-actions__button--noon-minutes:focus,
.reema-product-actions__button--noon-minutes:focus-visible {
	border-color: #182033;
	background: #ffe66d;
	color: #182033;
}

.reema-product-actions__button--amazon {
	background: #ff9900;
	color: #252525;
}

.reema-product-actions__button--amazon:hover,
.reema-product-actions__button--amazon:focus {
	background: #e88a00;
	color: #252525;
}

.reema-product-actions__button--nearby {
	width: 100%;
	background: #e51e1e;
	color: #ffffff;
}

.reema-product-actions__button--nearby:hover,
.reema-product-actions__button--nearby:focus {
	background: #c91818;
	color: #ffffff;
}

.reema-product-actions__fallback {
	margin: 0.5rem 0 0;
	color: #555555;
	font-size: 0.92rem;
	line-height: 1.4;
}

.reema-product-actions-js .reema-product-actions__fallback {
	display: none;
}

.reema-product-actions-modal[hidden] {
	display: none;
}

.reema-product-actions-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.reema-product-actions-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(37, 37, 37, 0.58);
}

.reema-product-actions-modal__dialog {
	position: relative;
	width: min(100%, 38rem);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1.5rem;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 18px 48px rgba(37, 37, 37, 0.25);
	color: #252525;
}

.reema-product-actions-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #252525;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.reema-product-actions-modal__close:hover,
.reema-product-actions-modal__close:focus {
	background: #fff8f2;
	color: #e51e1e;
}

.reema-product-actions-modal__title {
	margin: 0 2.25rem 0.75rem 0;
	color: #252525;
	font-size: 1.2rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.reema-product-actions-modal p {
	margin: 0 0 0.85rem;
	line-height: 1.5;
}

.reema-product-actions-modal p:last-child {
	margin-bottom: 0;
}

.reema-product-actions-modal-open {
	overflow: hidden;
}

.reema-product-actions-modal__helper {
	color: #555555;
}

.reema-product-actions-modal__status {
	margin: 0.8rem 0;
	padding: 0.75rem;
	border-radius: 6px;
	background: #fff8f2;
	line-height: 1.45;
}

.reema-product-actions-modal__status:empty {
	display: none;
}

.reema-product-actions-modal__controls {
	margin: 1rem 0;
}

.reema-product-actions-modal__controls label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.reema-product-actions-modal__controls select {
	display: block;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 2.25rem 0.55rem 0.7rem;
	border: 1px solid #9b9b9b;
	border-radius: 6px;
	background-color: #ffffff;
	color: #252525;
}

.reema-product-actions-modal__location {
	min-width: 0;
	margin-top: 0.8rem;
}

.reema-product-actions-modal__location-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.62rem 0.9rem;
	border: 2px solid #e51e1e;
	border-radius: 6px;
	background: #ffffff;
	color: #c91818;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.reema-product-actions-modal__location-button:hover,
.reema-product-actions-modal__location-button:focus {
	background: #fff8f2;
	color: #a91414;
}

.reema-product-actions-modal__location-button:disabled {
	border-color: #b7b7b7;
	background: #f4f4f4;
	color: #666666;
	cursor: not-allowed;
}

.reema-product-actions-modal__location-icon {
	margin-right: 0.45rem;
	font-size: 1.15em;
	line-height: 1;
}

.reema-product-actions-modal p.reema-product-actions-modal__location-once,
.reema-product-actions-modal p.reema-product-actions-modal__privacy {
	margin: 0.5rem 0 0;
	color: #555555;
	font-size: 0.86rem;
	line-height: 1.45;
}

.reema-product-actions-modal p.reema-product-actions-modal__privacy {
	font-size: 0.8rem;
}

.reema-product-actions-modal__results {
	max-height: min(55vh, 30rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 0.25rem;
}

.reema-product-actions-modal__results-title {
	margin: 0 0 0.75rem;
	color: #252525;
	font-size: 1rem;
}

.reema-product-actions-modal__group {
	margin-bottom: 0.6rem;
	border: 1px solid #f1ded0;
	border-radius: 6px;
	background: #fffdfb;
}

.reema-product-actions-modal__group summary {
	padding: 0.75rem;
	cursor: pointer;
	font-weight: 700;
}

.reema-product-actions-modal__list {
	margin: 0;
	padding: 0 0.75rem 0.75rem;
	list-style: none;
}

.reema-product-actions-modal__retailer {
	margin: 0;
	padding: 0.65rem 0.75rem;
	border-top: 1px solid #f2e7df;
	line-height: 1.4;
}

.reema-product-actions-modal__list .reema-product-actions-modal__retailer:first-child {
	border-top: 0;
}

.reema-product-actions-modal__retry {
	min-height: 2.65rem;
	margin-top: 0.5rem;
	padding: 0.6rem 1rem;
	border: 0;
	border-radius: 6px;
	background: #e51e1e;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.reema-product-actions-modal__retry:hover,
.reema-product-actions-modal__retry:focus {
	background: #c91818;
	color: #ffffff;
}

.reema-product-actions-modal__barcode code {
	padding: 0.15rem 0.35rem;
	border-radius: 4px;
	background: #f4f4f4;
	color: #252525;
}

@media (max-width: 600px) {
	.reema-product-actions__buttons {
		flex-direction: column;
	}

	.reema-product-actions__buttons > .reema-product-actions__button,
	.reema-product-actions__nearby {
		flex-basis: auto;
		width: 100%;
	}

	.reema-product-actions__buttons--secondary > .reema-product-actions__button--has-logo {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.reema-product-actions__marketplace-logo,
	.reema-product-actions__button--noon-minutes .reema-product-actions__marketplace-logo {
		max-width: 72px;
	}

	.reema-product-actions-modal {
		align-items: flex-end;
		padding: 0.5rem;
	}

	.reema-product-actions-modal__dialog {
		max-height: calc(100vh - 1rem);
		padding: 1.25rem;
	}

	.reema-product-actions-modal__location-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reema-product-actions__button {
		transition: none;
	}
}
