/* Χάρτης καταστημάτων [lino_stores_map] (assets/php/stores-map.php, assets/js/stores-map.js).
   Τα !important στα κουμπιά και στις λίστες είναι για τους γενικούς κανόνες button/ol/li του θέματος. */
.lino-stores {
	--ls-brand: #972f67;
	--ls-tint: #faf2f6;
	--ls-line: #f0e4ea;
	--ls-text: #2b2b2b;
	--ls-muted: #6b6b6b;
	margin: 8px 0 40px;
	color: var(--ls-text);
}

.lino-stores__head {
	margin: 0 0 18px;
	text-align: center;
}
.lino-stores .lino-stores__title {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--ls-brand);
	text-transform: uppercase;
}
.lino-stores .lino-stores__sub {
	margin: 0 auto;
	max-width: 620px;
	font-size: 16px;
	color: var(--ls-muted);
}

.lino-stores__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
	gap: 20px;
	height: var(--lino-stores-h, 520px);
}

/* ---- Χάρτης ---- */
.lino-stores__map {
	position: relative;
	z-index: 0;
	isolation: isolate;
	height: 100%;
	min-height: 280px;
	overflow: hidden;
	background: #eef0f1;
	border: 1px solid var(--ls-line);
	border-radius: 14px;
}
.lino-stores .leaflet-container {
	font: inherit;
	background: #eef0f1;
}
.lino-stores .lino-stores__maperr {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 500;
	width: min(80%, 360px);
	margin: 0;
	padding: 14px 18px;
	transform: translate(-50%, -50%);
	font-size: 14px;
	text-align: center;
	color: var(--ls-muted);
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(60, 20, 40, 0.12);
}
.lino-stores .lino-stores__nojs {
	margin: 0;
	padding: 24px;
	color: var(--ls-muted);
}
/* ο χάρτης «ξεκλειδώνει» (ροδέλα/σύρσιμο) με το πρώτο πάτημα: ενδεικτικό περίγραμμα */
.lino-stores__map.is-active {
	border-color: var(--ls-brand);
}

/* δείκτης: σταγόνα με αριθμό */
.lino-stores .lino-pin-wrap {
	background: none;
	border: 0;
}
.lino-stores .lino-pin {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 34px;
	height: 34px;
	background: var(--ls-brand);
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 3px 8px rgba(60, 20, 40, 0.35);
	transform: rotate(-45deg);
	box-sizing: border-box;
}
.lino-stores .lino-pin b {
	display: block;
	transform: rotate(45deg);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}

/* popup */
.lino-stores .leaflet-popup-content-wrapper {
	border-radius: 12px;
}
.lino-stores .leaflet-popup-content {
	margin: 14px 18px;
	font-size: 14px;
	line-height: 1.4;
}
.lino-stores .lino-popup {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.lino-stores .lino-popup__name {
	font-size: 16px;
	color: var(--ls-text);
}
.lino-stores .lino-popup__addr {
	color: var(--ls-muted);
}
.lino-stores .lino-popup__row {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}
.lino-stores .lino-popup__link {
	color: var(--ls-brand) !important;
	font-weight: 600;
	text-decoration: none !important;
}
.lino-stores .lino-popup__link:hover {
	text-decoration: underline !important;
}

/* ---- Λίστα ---- */
.lino-stores__side {
	display: flex;
	flex-direction: column;
	min-height: 0;
	gap: 10px;
}
.lino-stores button.lino-stores__all {
	align-self: flex-start;
	margin: 0 !important;
	padding: 7px 14px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	color: var(--ls-brand) !important;
	background: #fff !important;
	border: 1px solid var(--ls-brand) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	cursor: pointer;
}
.lino-stores button.lino-stores__all:hover {
	color: #fff !important;
	background: var(--ls-brand) !important;
}

.lino-stores ol.lino-stores__list {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 4px 2px 0 !important;
	list-style: none !important;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #dcc3cf transparent;
}
.lino-stores .lino-store {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 12px 14px;
	list-style: none !important;
	background: #fff;
	border: 1px solid var(--ls-line);
	border-radius: 12px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.lino-stores .lino-store.is-active {
	background: var(--ls-tint);
	border-color: var(--ls-brand);
	box-shadow: 0 4px 14px rgba(151, 47, 103, 0.14);
}

.lino-stores button.lino-store__pick {
	display: flex !important;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	text-transform: none !important;
	color: inherit !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}
/* Στο κλικ με ποντίκι/αφή δεν φαίνεται το περίγραμμα εστίασης του θέματος/browser (η κάρτα τονίζεται ήδη ως επιλεγμένη).
   Με πληκτρολόγιο (Tab) φαίνεται κανονικά, από τους κανόνες :focus-visible παρακάτω. */
.lino-stores button:focus:not(:focus-visible),
.lino-stores summary:focus:not(:focus-visible),
.lino-stores a:focus:not(:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}
.lino-stores button.lino-store__pick:focus-visible {
	outline: 2px solid var(--ls-brand);
	outline-offset: 4px;
	border-radius: 6px !important;
}
.lino-stores .lino-store__num {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ls-brand);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}
.lino-stores .lino-store__txt {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.lino-stores .lino-store__name {
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--ls-text);
}
.lino-stores .lino-store__addr {
	font-size: 14px;
	line-height: 1.35;
	color: var(--ls-muted);
}

.lino-stores .lino-store__more {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 8px 0 0 42px;
}
.lino-stores a.lino-store__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--ls-brand) !important;
	text-decoration: none !important;
}
.lino-stores a.lino-store__link:hover {
	text-decoration: underline !important;
}

.lino-stores .lino-store__hours {
	margin: 6px 0 0 42px;
	font-size: 14px;
}
.lino-stores .lino-store__hours summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 2px 0;
	list-style: none;
	color: var(--ls-muted);
	font-weight: 600;
	cursor: pointer;
}
.lino-stores .lino-store__hours summary::-webkit-details-marker {
	display: none;
}
/* chevron από CSS (ανεξάρτητο από τη γραμματοσειρά): κοιτά κάτω, γυρίζει προς τα πάνω όταν ανοίγει */
.lino-stores .lino-store__hours summary::after {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	border-radius: 1px;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin 0.2s ease;
}
.lino-stores .lino-store__hours[open] summary::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}
.lino-stores .lino-store__hours summary:hover,
.lino-stores .lino-store__hours[open] summary {
	color: var(--ls-brand);
}
.lino-stores .lino-store__hours summary:focus-visible {
	outline: 2px solid var(--ls-brand);
	outline-offset: 3px;
	border-radius: 4px;
}
.lino-stores .lino-store__hours dl {
	margin: 6px 0 0;
}
.lino-stores .lino-store__hours dt {
	margin: 6px 0 0;
	font-weight: 600;
	color: var(--ls-text);
}
.lino-stores .lino-store__hours dd {
	margin: 0;
	color: var(--ls-muted);
}

/* ---- Tablet / κινητό: ο χάρτης πάνω, η λίστα από κάτω ---- */
@media (max-width: 899px) {
	.lino-stores__grid {
		grid-template-columns: minmax(0, 1fr);
		height: auto;
	}
	.lino-stores__map {
		height: 360px;
	}
	.lino-stores ol.lino-stores__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
		padding: 0 !important;
	}
}
@media (max-width: 599px) {
	.lino-stores .lino-stores__title {
		font-size: 22px;
	}
	.lino-stores .lino-stores__sub {
		font-size: 14px;
	}
	.lino-stores__map {
		height: 320px;
	}
	.lino-stores ol.lino-stores__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---- Διάταξη «full» (σελίδα καταστημάτων): χάρτης σε όλο το πλάτος, από κάτω κάρτες με ωράριο ορατό ---- */
.lino-stores--full .lino-stores__grid {
	grid-template-columns: minmax(0, 1fr);
	height: auto;
	gap: 16px;
}
.lino-stores--full .lino-stores__head {
	text-align: left;
}
.lino-stores--full .lino-stores__sub {
	max-width: none;
	margin: 0;
}
.lino-stores--full .lino-stores__map {
	height: var(--lino-stores-h, 560px);
}
.lino-stores--full .lino-stores__side {
	gap: 16px;
}
.lino-stores--full ol.lino-stores__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	overflow: visible;
	padding: 0 !important;
}
.lino-stores--full .lino-store {
	display: flex;
	flex-direction: column;
	padding: 18px 20px;
}
.lino-stores--full .lino-store__more {
	align-items: center;
}
.lino-stores--full .lino-store__hours--open {
	margin: 12px 0 0 42px;
	padding-top: 12px;
	font-size: 14px;
	border-top: 1px solid var(--ls-line);
}
.lino-stores--full .lino-store__hours-title {
	display: block;
	color: var(--ls-text);
}
.lino-stores .lino-store__hours--open dl {
	margin: 4px 0 0;
}
.lino-stores button.lino-store__maplink {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: inherit !important;
	text-transform: none !important;
	color: var(--ls-brand) !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}
.lino-stores button.lino-store__maplink:hover {
	text-decoration: underline;
}
@media (max-width: 1023px) {
	.lino-stores--full ol.lino-stores__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 899px) {
	.lino-stores--full .lino-stores__map {
		height: 380px;
	}
}
@media (max-width: 599px) {
	.lino-stores--full .lino-stores__map {
		height: 320px;
	}
	.lino-stores--full ol.lino-stores__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lino-stores .lino-store,
	.lino-stores .lino-store__hours summary::after {
		transition: none;
	}
}
