/**
 * Verimark Store Locator - product-page store availability.
 *
 * Ported verbatim from snippets/verimark-pdp-store-stock.php 1.2.0. The
 * snippet printed this inline on every product page; as a static file it is
 * cached by browsers and the CDN instead.
 */

.vmark-store-entry,
.vmark-store-modal {
	--vmark-store-accent: var(--vmark-promo-teal, #008a81);
	--vmark-store-accent-dark: var(--vmark-promo-teal-dark, #075f58);
	--vmark-store-soft: var(--vmark-promo-teal-soft, #e9f8f5);
	--vmark-store-ink: var(--vmark-promo-ink, #15322f);
	--vmark-store-muted: var(--vmark-promo-muted, #526a67);
	--vmark-store-line: var(--vmark-promo-line, #cfe0dd);
	font-family: inherit;
}

.vmark-store-entry *,
.vmark-store-entry *::before,
.vmark-store-entry *::after,
.vmark-store-modal *,
.vmark-store-modal *::before,
.vmark-store-modal *::after {
	box-sizing: border-box;
}

.vmark-store-entry {
	clear: both;
	width: 100%;
	margin: 14px 0 18px;
}

.vmark-store-entry__button {
	appearance: none;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 14px 15px;
	border: 1px solid var(--vmark-store-line);
	border-radius: 10px;
	color: var(--vmark-store-ink);
	background: linear-gradient(135deg, #fff 0%, #fbfefd 100%);
	box-shadow: 0 3px 12px rgba(21, 50, 47, .05);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.vmark-store-entry__button:hover {
	border-color: #a9ccc7;
	background: var(--vmark-store-soft);
	transform: translateY(-1px);
}

.vmark-store-entry__button:focus-visible {
	outline: 3px solid rgba(0, 138, 129, .23);
	outline-offset: 2px;
}

.vmark-store-entry__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--vmark-store-accent-dark);
	background: var(--vmark-store-soft);
}

.vmark-store-entry__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.vmark-store-entry__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.vmark-store-entry__eyebrow {
	margin-bottom: 2px;
	color: var(--vmark-store-accent-dark);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.vmark-store-entry__copy strong {
	color: var(--vmark-store-ink);
	font-size: 15px;
	font-weight: 760;
	line-height: 1.3;
}

.vmark-store-entry__copy small {
	margin-top: 2px;
	color: var(--vmark-store-muted);
	font-size: 12px;
	line-height: 1.35;
}

.vmark-store-entry__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vmark-store-accent-dark);
}

.vmark-store-entry__arrow svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.vmark-store-modal[hidden] {
	display: none !important;
}

.vmark-store-loading[hidden],
.vmark-store-empty[hidden],
.vmark-store-more[hidden],
.vmark-store-notice[hidden] {
	display: none !important;
}

.vmark-store-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 24px;
	overflow: auto;
	background: rgba(13, 30, 28, .64);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.vmark-store-modal.is-open {
	opacity: 1;
}

.vmark-store-modal__dialog {
	display: flex;
	flex-direction: column;
	width: min(920px, 100%);
	max-height: min(760px, calc(100svh - 48px));
	overflow: hidden;
	border: 1px solid rgba(207, 224, 221, .9);
	border-radius: 16px;
	color: var(--vmark-store-ink);
	background: #fff;
	box-shadow: 0 28px 80px rgba(4, 24, 21, .24);
	transform: translateY(10px) scale(.985);
	transition: transform 190ms ease;
}

.vmark-store-modal.is-open .vmark-store-modal__dialog {
	transform: translateY(0) scale(1);
}

.vmark-store-modal__header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	border-bottom: 1px solid #e6efed;
	background: linear-gradient(135deg, #fff, #f5fbf9);
}

.vmark-store-modal__product {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}

.vmark-store-modal__product img {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	margin: 0;
	border: 1px solid #e2ecea;
	border-radius: 9px;
	background: #fff;
	object-fit: contain;
}

.vmark-store-modal__product > div {
	min-width: 0;
}

.vmark-store-modal__eyebrow {
	display: block;
	margin-bottom: 2px;
	color: var(--vmark-store-accent-dark);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vmark-store-modal__header h2 {
	margin: 0;
	color: var(--vmark-store-ink);
	font-size: clamp(20px, 2.3vw, 25px);
	font-weight: 770;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.vmark-store-modal__header p {
	overflow: hidden;
	margin: 4px 0 0;
	color: var(--vmark-store-muted);
	font-size: 13px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vmark-store-modal__close {
	appearance: none;
	display: flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0;
	padding: 0;
	border: 1px solid #d8e6e3;
	border-radius: 50%;
	color: var(--vmark-store-ink);
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.vmark-store-modal__close:hover {
	border-color: #acd0ca;
	color: var(--vmark-store-accent-dark);
	background: var(--vmark-store-soft);
}

.vmark-store-modal__close svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.vmark-store-modal__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 18px 20px 4px;
	overflow: auto;
	overscroll-behavior: contain;
}

.vmark-store-modal__toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.vmark-store-search {
	position: relative;
	display: block;
	margin: 0;
}

.vmark-store-search > svg {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: #67807c;
	stroke-linecap: round;
	stroke-width: 1.7;
	transform: translateY(-50%);
	pointer-events: none;
}

.vmark-store-modal .vmark-store-search__input {
	appearance: none;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 14px 0 42px;
	border: 1px solid #cbdedb;
	border-radius: 8px;
	color: var(--vmark-store-ink);
	background: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
}

.vmark-store-modal .vmark-store-search__input:focus,
.vmark-store-modal .vmark-store-region select:focus {
	border-color: var(--vmark-store-accent);
	outline: 3px solid rgba(0, 138, 129, .14);
}

.vmark-store-location,
.vmark-store-more,
.vmark-store-empty button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	margin: 0;
	padding: 9px 14px;
	border: 1px solid #b9d4d0;
	border-radius: 8px;
	color: var(--vmark-store-accent-dark);
	background: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
}

.vmark-store-location:hover,
.vmark-store-more:hover,
.vmark-store-empty button:hover {
	border-color: var(--vmark-store-accent);
	background: var(--vmark-store-soft);
}

.vmark-store-location svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.6;
}

.vmark-store-location.is-active {
	border-color: var(--vmark-store-accent);
	color: #fff;
	background: var(--vmark-store-accent);
}

.vmark-store-modal__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.vmark-store-modes {
	display: inline-flex;
	padding: 3px;
	border-radius: 8px;
	background: #eef5f3;
}

.vmark-store-modes button {
	appearance: none;
	min-height: 38px;
	margin: 0;
	padding: 7px 13px;
	border: 0;
	border-radius: 6px;
	color: #506864;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 12px;
	font-weight: 730;
	line-height: 1;
	cursor: pointer;
	transition: color 150ms ease, background-color 150ms ease;
}

.vmark-store-modes button[aria-pressed="true"] {
	color: #fff;
	background: var(--vmark-store-accent);
	box-shadow: 0 2px 8px rgba(0, 138, 129, .26);
}

.vmark-store-modes button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.vmark-store-modes span {
	margin-left: 3px;
	color: var(--vmark-store-accent-dark);
}

.vmark-store-modes button[aria-pressed="true"] span {
	color: rgba(255, 255, 255, .88);
}

.vmark-store-region select {
	appearance: none;
	min-width: 190px;
	height: 42px;
	margin: 0;
	padding: 0 34px 0 11px;
	border: 1px solid #d1e1de;
	border-radius: 7px;
	color: var(--vmark-store-ink);
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none' stroke='%23075f58' stroke-width='1.7'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E")
		no-repeat right 10px center;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
}

.vmark-store-notice {
	margin-top: 13px;
	padding: 10px 12px;
	border: 1px solid #efd9a9;
	border-radius: 7px;
	color: #624a18;
	background: #fff9e9;
	font-size: 12.5px;
	line-height: 1.45;
}

.vmark-store-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 38px;
	padding: 11px 1px 8px;
	color: var(--vmark-store-muted);
	font-size: 13px;
	line-height: 1.35;
}

.vmark-store-loading {
	display: grid;
	gap: 8px;
}

.vmark-store-loading span {
	display: block;
	height: 96px;
	border-radius: 8px;
	background: linear-gradient(90deg, #f1f5f4 25%, #fafcfc 40%, #f1f5f4 60%);
	background-size: 300% 100%;
	animation: vmark-store-loading 1.25s ease-in-out infinite;
}

@keyframes vmark-store-loading {
	to { background-position: -100% 0; }
}

.vmark-store-results {
	display: grid;
	gap: 10px;
	padding-top: 2px;
}

.vmark-store-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px 18px;
	padding: 15px 16px;
	border: 1px solid var(--vmark-store-line);
	border-radius: 12px;
	background: #fff;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.vmark-store-card:hover {
	border-color: #a9ccc7;
	box-shadow: 0 6px 18px rgba(7, 95, 88, .08);
}

.vmark-store-card__main {
	min-width: 0;
}

.vmark-store-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.vmark-store-card__name {
	margin: 0;
	color: var(--vmark-store-ink);
	font-size: 15px;
	font-style: normal;
	font-weight: 760;
	line-height: 1.3;
	text-decoration: none;
}

/* Padded so a linked store name clears the 24px minimum target size. */
a.vmark-store-card__name {
	display: inline-block;
	padding: 3px 0;
}

.vmark-store-card__name:hover {
	color: var(--vmark-store-accent-dark);
}

.vmark-store-card__stock {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 999px;
	color: #44625d;
	background: #edf3f2;
	font-size: 11px;
	font-weight: 760;
	line-height: 1.2;
	white-space: nowrap;
}

.vmark-store-card__stock::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #81948f;
	content: "";
}

.vmark-store-card__stock.is-available {
	color: #086256;
	background: #e3f6f0;
}

.vmark-store-card__stock.is-available::before {
	background: #0aa58f;
	box-shadow: 0 0 0 3px rgba(10, 165, 143, .1);
}

.vmark-store-card__address {
	margin: 5px 0 0;
	color: var(--vmark-store-muted);
	font-size: 13px;
	font-style: normal;
	line-height: 1.45;
}

.vmark-store-hours {
	margin: 9px 0 0;
	overflow: hidden;
	border: 1px solid #dce9e6;
	border-radius: 8px;
	background: #f8fbfa;
}

.vmark-store-hours summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 7px 9px;
	color: var(--vmark-store-ink);
	list-style: none;
	cursor: pointer;
}

.vmark-store-hours summary::-webkit-details-marker {
	display: none;
}

.vmark-store-hours summary:focus-visible {
	outline: 2px solid var(--vmark-store-accent);
	outline-offset: -2px;
}

.vmark-store-hours__icon {
	display: grid;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: var(--vmark-store-accent-dark);
	background: var(--vmark-store-soft);
	place-items: center;
}

.vmark-store-hours__icon svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.vmark-store-hours__copy {
	display: grid;
	min-width: 0;
	line-height: 1.25;
}

.vmark-store-hours__copy strong {
	font-size: 12px;
	font-weight: 740;
}

.vmark-store-hours__copy small {
	margin-top: 2px;
	overflow: hidden;
	color: var(--vmark-store-muted);
	font-size: 11.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vmark-store-hours__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: var(--vmark-store-accent-dark);
	font-size: 11.5px;
	font-weight: 720;
	white-space: nowrap;
}

.vmark-store-hours__toggle svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform 150ms ease;
}

.vmark-store-hours[open] .vmark-store-hours__toggle svg {
	transform: rotate(180deg);
}

.vmark-store-hours__panel {
	padding: 7px 8px 8px;
	border-top: 1px solid #e2ecea;
	background: #fff;
}

.vmark-store-hours[open] .vmark-store-hours__panel {
	animation: vmark-store-hours-reveal 150ms ease-out;
}

.vmark-store-hours__schedule {
	display: grid;
	gap: 2px;
}

.vmark-store-hours__row {
	display: grid;
	grid-template-columns: minmax(88px, .42fr) minmax(0, 1fr);
	gap: 12px;
	padding: 4px 6px;
	border-radius: 5px;
	color: var(--vmark-store-muted);
	font-size: 12px;
	line-height: 1.35;
}

.vmark-store-hours__row.is-today {
	color: var(--vmark-store-accent-dark);
	background: var(--vmark-store-soft);
}

.vmark-store-hours__day {
	font-weight: 700;
}

.vmark-store-hours__time {
	text-align: right;
}

.vmark-store-hours__raw {
	margin: 0;
	color: var(--vmark-store-muted);
	font-size: 12px;
	line-height: 1.5;
}

@keyframes vmark-store-hours-reveal {
	from {
		opacity: 0;
		transform: translateY(-3px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.vmark-store-card__distance {
	color: var(--vmark-store-accent-dark);
	font-size: 12px;
	font-weight: 720;
	white-space: nowrap;
}

.vmark-store-card__actions {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.vmark-store-card__actions a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--vmark-store-accent-dark);
	font-size: 12.5px;
	font-weight: 720;
	line-height: 1.2;
	text-decoration: none;
}

.vmark-store-card__actions a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vmark-store-card__actions .is-primary {
	padding: 6px 12px;
	border: 1px solid #b7d5d0;
	border-radius: 6px;
	text-decoration: none;
}

.vmark-store-card__actions .is-primary:hover {
	border-color: var(--vmark-store-accent);
	background: var(--vmark-store-soft);
	text-decoration: none;
}

.vmark-store-empty {
	padding: 34px 18px;
	text-align: center;
}

.vmark-store-empty strong {
	display: block;
	color: var(--vmark-store-ink);
	font-size: 17px;
}

.vmark-store-empty p {
	margin: 6px 0 13px;
	color: var(--vmark-store-muted);
	font-size: 13px;
}

.vmark-store-more {
	width: 100%;
	margin: 12px 0 8px;
}

.vmark-store-modal__footer {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	border-top: 1px solid #e6efed;
	background: #f8fbfa;
}

.vmark-store-modal__footer p {
	margin: 0;
	color: #687c78;
	font-size: 11px;
	line-height: 1.4;
}

.vmark-store-modal__footer a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 28px;
	color: var(--vmark-store-accent-dark);
	font-size: 12px;
	font-weight: 750;
	text-decoration: none;
}

.vmark-store-modal__footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.vmark-store-modal-open {
	overflow: hidden !important;
}

@media (max-width: 640px) {
	.vmark-store-entry {
		margin: 13px 0 17px;
	}

	.vmark-store-entry__button {
		grid-template-columns: 40px minmax(0, 1fr) 24px;
		gap: 10px;
		padding: 12px;
	}

	.vmark-store-entry__icon {
		width: 40px;
		height: 40px;
	}

	.vmark-store-modal {
		align-items: end;
		padding: 0;
	}

	.vmark-store-modal__dialog {
		width: 100%;
		max-height: 94svh;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 17px 17px 0 0;
		transform: translateY(24px);
	}

	.vmark-store-modal__header {
		padding: 14px 15px;
	}

	.vmark-store-modal__product img {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}

	.vmark-store-modal__header h2 {
		font-size: 19px;
	}

	.vmark-store-modal__body {
		padding: 14px 15px 3px;
	}

	.vmark-store-modal__toolbar {
		grid-template-columns: 1fr;
	}

	.vmark-store-location {
		width: 100%;
	}

	.vmark-store-modal__controls {
		align-items: stretch;
		flex-direction: column;
	}

	.vmark-store-modes {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.vmark-store-region select {
		width: 100%;
	}

	.vmark-store-card {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.vmark-store-card__distance {
		grid-row: 1;
	}

	.vmark-store-card__actions {
		grid-column: 1;
	}

	.vmark-store-hours__row {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 8px;
	}

	.vmark-store-modal__footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
		padding: 10px 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vmark-store-entry__button,
	.vmark-store-modal,
	.vmark-store-modal__dialog,
	.vmark-store-card,
	.vmark-store-modes button {
		transition: none;
	}

	.vmark-store-hours__toggle svg {
		transition: none;
	}

	.vmark-store-hours[open] .vmark-store-hours__panel {
		animation: none;
	}

	.vmark-store-loading span {
		animation: none;
	}
}
