/* ── Store Info widget (widgets/class-store-info.php) ────────────────────────
   "Neon Dispensary" moss-green theme, matching the cart drawer / weight
   modal / product card / archive widget already built this session.
   --------------------------------------------------------------------------- */

/* ── Trigger button ──────────────────────────────────────────────────────── */

.fh-store-info-trigger {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	background-color: #232a1c;
	/* !important on border/color too, not just :hover — the theme's
	   reset.css matches this element on IDLE as well: it's a real
	   <button type="button">, and reset.css's "[type=button],[type=submit],
	   button{border:1px solid #c36;color:#c36}" ties this rule's
	   specificity (both single-selector) and can win by source order,
	   which is exactly the fuchsia seen at rest, not just on hover. */
	color: #eef4e2 !important;
	border: 1px solid #4a5a3c !important;
	border-radius: 999px;
	padding: 0.5rem 1.1rem;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fh-store-info-trigger:hover,
.fh-store-info-trigger:focus {
	/* :focus included — same reset.css fuchsia-on-hover/focus reason. */
	background-color: #3d5922 !important;
	border-color: #597d36 !important;
	color: #eef4e2 !important;
}

.fh-store-info-trigger i {
	margin: 0 0.1rem;
}

.fh-store-info-trigger-chevron {
	font-size: 0.7rem;
	color: #aeb7a2;
}

/* ── Modal ───────────────────────────────────────────────────────────────── */

#fhStoreInfoModal .fh-store-info-dialog {
	max-width: 380px;
}

#fhStoreInfoModal .modal-content {
	background-color: #313d27;
	color: #f4f7ee;
	border: none;
	border-radius: 16px;
	font-family: 'Space Grotesk', sans-serif;
}

.fh-store-info-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #4a5a3c;
}

.fh-store-info-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
	color: #f4f7ee;
}

/* Close button — same circle/border/hover treatment as #fhWeightModal
   .fh-modal-close and #fhCartModal .btn-close. */
#fhStoreInfoModal .fh-modal-close {
	appearance: none;
	box-sizing: border-box;
	/* padding:0 explicitly — the theme's reset.css sets an ASYMMETRIC
	   ".5rem 1rem" padding on every [type=button]/button by default, which
	   is exactly what made this look oval instead of circular; a fixed
	   width/height alone doesn't stop padding from pushing the visible
	   content off-center. */
	padding: 0;
	margin: 0;
	width: 30px;
	height: 30px;
	min-width: 30px;
	min-height: 30px;
	flex: 0 0 30px;
	border-radius: 50%;
	border: 1px solid #4a5a3c !important;
	background: transparent !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #aeb7a2 !important;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

#fhStoreInfoModal .fh-modal-close:hover,
#fhStoreInfoModal .fh-modal-close:focus {
	border-color: #597d36 !important;
	background-color: rgba(89, 125, 54, 0.25) !important;
	color: #b3cd98 !important;
}

.fh-store-info-body {
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.fh-store-info-name-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.fh-store-info-name {
	font-size: 1rem;
	font-weight: 700;
	color: #f4f7ee;
}

.fh-store-info-status {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
}

.fh-store-info-status.is-open {
	background-color: #597d36;
	color: #eef4e2;
}

.fh-store-info-status.is-closed {
	background-color: #232a1c;
	color: #aeb7a2;
}

.fh-store-info-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: #eef4e2;
	line-height: 1.4;
}

.fh-store-info-row i {
	color: #b3cd98;
	font-size: 0.95rem;
	margin-top: 0.15rem;
	width: 16px;
	flex-shrink: 0;
	text-align: center;
}

.fh-store-info-row a {
	/* !important — reset.css sets a[href]{color:#c36} on plain <a> tags too. */
	color: #ffffff !important;
	background-color: transparent !important;
	text-decoration: none;
}

.fh-store-info-row a:hover,
.fh-store-info-row a:focus {
	color: #b3cd98 !important;
	background-color: transparent !important;
}

.fh-store-hours-list {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #aeb7a2;
}

.fh-store-hours-list p {
	margin: 0 0 0.3rem;
}
