.sansara-branch-selector {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 6px;
	min-width: 164px;
	margin: 0;
}

.sansara-branch-selector label {
	grid-column: 1 / -1;
	color: #687b7c;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .11em;
	line-height: 1;
	text-transform: uppercase;
}

.sansara-branch-selector select {
	width: 100%;
	min-height: 38px;
	margin: 0;
	border: 1px solid #dce5e4;
	border-radius: 10px;
	padding: 7px 30px 7px 10px;
	background-color: #f7faf9;
	color: #122628;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.sansara-branch-selector__submit {
	min-width: 34px;
	min-height: 34px;
	border: 0;
	border-radius: 9px;
	padding: 0 7px;
	background: #193638;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	cursor: pointer;
}

.sansara-store-directory {
	margin: 0 0 34px;
}

.sansara-store-directory__header {
	max-width: 760px;
	margin-bottom: 22px;
}

.sansara-store-directory__header > span {
	display: inline-flex;
	margin-bottom: 9px;
	border-radius: 999px;
	padding: 6px 10px;
	background: #eaf8f6;
	color: #127f81;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sansara-store-directory__header h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 46px);
	letter-spacing: -.045em;
}

.sansara-store-directory__header p {
	margin: 10px 0 0;
	color: #687b7c;
	line-height: 1.55;
}

.sansara-store-directory__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.sansara-store-card {
	display: flex;
	min-height: 340px;
	flex-direction: column;
	border: 1px solid #dce5e4;
	border-radius: 20px;
	padding: 22px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(18, 38, 40, .06);
}

.sansara-store-card.is-current {
	border-color: #17999a;
	box-shadow: 0 0 0 1px #17999a, 0 14px 34px rgba(23, 153, 154, .12);
}

.sansara-store-card__top {
	display: flex;
	min-height: 26px;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.sansara-store-card__top small {
	margin-left: auto;
	color: #7d8e8f;
	font-size: 10px;
	text-align: right;
}

.sansara-store-card__status {
	border-radius: 999px;
	padding: 5px 8px;
	background: #eaf8f6;
	color: #127f81;
	font-size: 9px;
	font-weight: 900;
	text-transform: uppercase;
}

.sansara-store-card h3 {
	margin: 18px 0 5px;
	font-size: 29px;
	letter-spacing: -.04em;
}

.sansara-store-card__address {
	min-height: 48px;
	margin: 0 0 18px;
	color: #526768;
	font-size: 14px;
	line-height: 1.5;
}

.sansara-store-card__phones {
	display: grid;
	gap: 8px;
}

.sansara-store-card__phones a {
	display: grid;
	gap: 2px;
	border-radius: 12px;
	padding: 10px 12px;
	background: #f4f8f7;
	color: #122628;
}

.sansara-store-card__phones span {
	color: #7d8e8f;
	font-size: 9px;
	font-weight: 750;
	text-transform: uppercase;
}

.sansara-store-card__phones strong {
	font-size: 14px;
}

.sansara-store-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
}

.sansara-store-card__actions a {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid #dce5e4;
	border-radius: 10px;
	padding: 8px 11px;
	color: #193638;
	font-size: 11px;
	font-weight: 850;
}

.sansara-store-card__actions a:first-child {
	border-color: #193638;
	background: #193638;
	color: #fff;
}

.sansara-store-card.is-current .sansara-store-card__actions a:first-child {
	border-color: #cde9e6;
	background: #eaf8f6;
	color: #127f81;
}

.sansara-checkout-branch {
	margin-bottom: 18px !important;
	border: 1px solid #cde9e6;
	border-radius: 14px;
	padding: 14px !important;
	background: #f4fbfa;
}

.sansara-checkout-branch label {
	font-weight: 850;
}

.sansara-checkout-branch .description {
	display: block !important;
	margin-top: 6px;
	color: #687b7c;
	font-size: 11px;
	line-height: 1.4;
}

.woocommerce-cart .woocommerce-shipping-methods li:has(input[value^="local_pickup"]) label[data-sansara-pickup-note]::after,
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[value^="local_pickup"]) label[data-sansara-pickup-note]::after {
	content: attr(data-sansara-pickup-note) !important;
}

.sansara-order-branch-summary {
	border: 1px solid #dce5e4;
	border-radius: 16px;
	padding: 18px;
	background: #f7faf9;
}

[data-sansara-branch-href][hidden],
[data-sansara-current-badge][hidden] {
	display: none !important;
}

@media (max-width: 1000px) {
	.sansara-branch-selector {
		min-width: 145px;
	}

	.sansara-store-directory__grid {
		grid-template-columns: 1fr;
	}

	.sansara-store-card {
		min-height: 0;
	}
}

@media (max-width: 720px) {
	.mobile-contact-bar:has(.is-whatsapp[hidden]) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.sansara-branch-selector {
		min-width: 0;
		max-width: 118px;
		flex: 1;
		grid-template-columns: minmax(0, 1fr);
	}

	.sansara-branch-selector label,
	.sansara-branch-selector__submit {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.sansara-branch-selector select {
		min-height: 38px;
		border-radius: 11px;
		padding-left: 9px;
		font-size: 11px;
	}

	.sansara-store-directory {
		margin-bottom: 24px;
	}

	.sansara-store-directory__header h2 {
		font-size: 31px;
	}

	.sansara-store-card {
		border-radius: 17px;
		padding: 18px;
	}
}

@media (max-width: 390px) {
	.sansara-branch-selector {
		max-width: 98px;
	}
}

/* Header switcher: a branded, fully styled alternative to the native select. */
.sansara-branch-switcher {
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 250px;
	min-width: 210px;
	color: #122628;
}

.sansara-branch-switcher summary {
	min-height: 58px;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 10px;
	border: 1px solid #cfe8e5;
	border-radius: 17px;
	padding: 8px 12px 8px 9px;
	background: linear-gradient(145deg, #f4fcfb 0%, #eaf8f6 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
	cursor: pointer;
	list-style: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sansara-branch-switcher summary::-webkit-details-marker {
	display: none;
}

.sansara-branch-switcher summary::marker {
	content: "";
}

.sansara-branch-switcher summary:hover {
	border-color: #86d4cf;
	transform: translateY(-1px);
}

.sansara-branch-switcher[open] summary {
	border-color: #16aaa7;
	box-shadow: 0 0 0 3px rgba(22, 170, 167, .13), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.sansara-branch-switcher__pin {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: #fff;
	color: #087e7b;
	box-shadow: 0 5px 14px rgba(8, 126, 123, .1);
}

.sansara-branch-switcher__pin svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.sansara-branch-switcher__current {
	min-width: 0;
	display: grid;
	gap: 2px;
	line-height: 1.05;
}

.sansara-branch-switcher__current small {
	color: #738483;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sansara-branch-switcher__current strong {
	overflow: hidden;
	color: #143638;
	font-size: 15px;
	font-weight: 850;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sansara-branch-switcher__chevron {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 7px;
	color: #54817e;
	transition: transform .2s ease;
}

.sansara-branch-switcher__chevron svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.sansara-branch-switcher[open] .sansara-branch-switcher__chevron {
	transform: rotate(180deg);
}

.sansara-branch-switcher__menu {
	position: absolute;
	z-index: 200;
	top: calc(100% + 9px);
	left: 0;
	width: max(100%, 292px);
	overflow: hidden;
	border: 1px solid #dce9e7;
	border-radius: 18px;
	padding: 7px;
	background: rgba(255, 255, 255, .985);
	box-shadow: 0 20px 48px rgba(16, 47, 51, .18);
	animation: sansara-branch-menu-in .16s ease both;
}

.sansara-branch-switcher__heading {
	display: grid;
	gap: 2px;
	padding: 10px 11px 9px;
}

.sansara-branch-switcher__heading strong {
	color: #122628;
	font-size: 13px;
}

.sansara-branch-switcher__heading span {
	color: #7a8989;
	font-size: 10px;
}

.sansara-branch-switcher__options {
	display: grid;
	gap: 3px;
}

.sansara-branch-switcher__option {
	min-height: 58px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24px;
	align-items: center;
	gap: 10px;
	border-radius: 12px;
	padding: 9px 11px;
	color: #253b3c;
	transition: background .16s ease, color .16s ease;
}

.sansara-branch-switcher__option:hover,
.sansara-branch-switcher__option:focus-visible {
	background: #f1f8f7;
	color: #087e7b;
}

.sansara-branch-switcher__option.is-current {
	background: #e5f7f4;
	color: #087e7b;
}

.sansara-branch-switcher__option > span {
	min-width: 0;
	display: grid;
	gap: 2px;
}

.sansara-branch-switcher__option strong {
	font-size: 13px;
	font-weight: 850;
}

.sansara-branch-switcher__option small {
	overflow: hidden;
	color: #758585;
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sansara-branch-switcher__option > svg {
	width: 20px;
	height: 20px;
	opacity: 0;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.sansara-branch-switcher__option.is-current > svg {
	opacity: 1;
}

@keyframes sansara-branch-menu-in {
	from { opacity: 0; transform: translateY(-5px) scale(.985); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
	.sansara-branch-switcher {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.sansara-branch-switcher summary {
		min-height: 52px;
		grid-template-columns: 34px minmax(0, 1fr) 20px;
		border-radius: 15px;
		padding-block: 6px;
	}

	.sansara-branch-switcher__pin {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.sansara-branch-switcher__menu {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sansara-branch-switcher summary,
	.sansara-branch-switcher__option,
	.sansara-branch-switcher__chevron {
		transition: none;
	}

	.sansara-branch-switcher__menu {
		animation: none;
	}
}
