/*
 * Systre Vendor Store UI
 * Store list ([wcfm_stores]) card redesign.
 *
 * WCFM ships a "classic" list layout that absolutely positions the store name
 * on top of the cover image and locks the footer to 80px. That breaks with
 * Japanese store names and bright banners, so this file overrides it.
 * Selectors use `li.wcfmmp-single-store.item` to outrank the plugin's
 * `li.coloum-N` rules. Scoped to #wcfmmp-stores-wrap only.
 */

:root {
	--stco-ink: #12263a;
	--stco-ink-sub: #5a6b7b;
	--stco-line: #e4ebf2;
	--stco-teal: #17a2b8;
	--stco-teal-dark: #0e7490;
	--stco-teal-soft: #e8f5f9;
	--stco-radius: 16px;
}

/* ---------------------------------------------------------------
 * 1. Grid
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap {
	display: grid !important;
	grid-template-columns: repeat( auto-fill, minmax( 250px, 1fr ) );
	gap: 26px 22px;
	margin: 24px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow: visible;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap::after,
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap::before {
	content: none !important;
	display: none !important;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item {
	display: block !important;
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	text-align: left !important;
	box-sizing: border-box;
}

/* ---------------------------------------------------------------
 * 2. Card shell
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-wrapper {
	position: relative !important;
	display: flex !important;
	flex-direction: column;
	height: 100% !important;
	background: #fff !important;
	border: 1px solid var( --stco-line ) !important;
	border-radius: var( --stco-radius ) !important;
	box-shadow: 0 1px 2px rgba( 18, 38, 58, 0.04 ), 0 10px 24px rgba( 18, 38, 58, 0.05 ) !important;
	overflow: hidden !important;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-wrapper:hover {
	transform: translateY( -4px );
	border-color: #c6e2ee !important;
	box-shadow: 0 6px 12px rgba( 18, 38, 58, 0.06 ), 0 18px 40px rgba( 18, 38, 58, 0.12 ) !important;
}

/* ---------------------------------------------------------------
 * 3. Cover image
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-content,
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-wrapper .store-content {
	position: relative !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden !important;
	background: #eef2f6;
	border: none !important;
	border-bottom: none !important;
	flex: 0 0 auto;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-content > a {
	display: block !important;
	text-decoration: none !important;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-content .store-info {
	height: auto !important;
	min-height: 0 !important;
	aspect-ratio: 16 / 9;
	opacity: 1 !important;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	transition: transform 0.5s ease;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-wrapper:hover .store-info {
	transform: scale( 1.05 );
}

/* Veil at the bottom of the cover so the logo always separates from it. */
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 46%;
	pointer-events: none;
	background: linear-gradient( to bottom, rgba( 10, 22, 40, 0 ) 0%, rgba( 10, 22, 40, 0.26 ) 100% );
}

/* ---------------------------------------------------------------
 * 4. Footer layout (2-column grid)
 *    .store-data-container / .store-data are flattened with
 *    display:contents so their children become grid items here.
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer {
	position: relative !important;
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	align-content: start;
	gap: 0 10px;
	flex: 1 1 auto;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 40px 16px 16px !important;
	background: #fff !important;
	border-top: none !important;
	text-align: left !important;
	overflow: visible !important;
	box-sizing: border-box;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-data-container,
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-data {
	display: contents !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .spacer,
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .wcfm-clearfix {
	display: none !important;
}

/* ---------------------------------------------------------------
 * 5. Logo
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-avatar {
	position: absolute !important;
	top: -32px !important;
	left: 16px !important;
	right: auto !important;
	bottom: auto !important;
	float: none !important;
	width: 64px !important;
	height: 64px !important;
	margin: 0 !important;
	padding: 4px !important;
	background: #fff !important;
	border: none !important;
	border-radius: 15px !important;
	box-shadow: 0 3px 10px rgba( 18, 38, 58, 0.16 ) !important;
	box-sizing: border-box !important;
	z-index: 2;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-avatar img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	border-radius: 11px !important;
	background: #fff;
	display: block !important;
}

/* ---------------------------------------------------------------
 * 6. Store name
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-data h2 {
	grid-column: 1 / -1;
	order: 1;
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
	letter-spacing: 0.01em;
	color: var( --stco-ink ) !important;
	min-height: calc( 1.45em * 2 );
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
	word-break: break-word;
	overflow-wrap: anywhere;
	text-align: left !important;
	background: transparent !important;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-data h2 a {
	color: var( --stco-ink ) !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	background: transparent !important;
	text-decoration: none !important;
	transition: color 0.18s ease;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-wrapper:hover .store-data h2 a {
	color: var( --stco-teal-dark ) !important;
}

/* ---------------------------------------------------------------
 * 7. EA count badge / meta rows
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .stco-store-count {
	grid-column: 1 / -1;
	order: 2;
	display: inline-flex !important;
	align-items: baseline;
	gap: 2px;
	justify-self: start;
	margin: 0 0 14px !important;
	padding: 5px 11px !important;
	background: var( --stco-teal-soft ) !important;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.4;
	color: var( --stco-teal-dark ) !important;
	font-weight: 600;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .stco-store-count-num {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .stco-store-count--empty {
	background: #f1f4f7 !important;
	color: #7b8794 !important;
	font-weight: 500;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .bd_rating {
	grid-column: 1 / -1;
	order: 3;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0;
}

/* WCFM classic paints these with a green gradient meant for a dark overlay. */
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-address,
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-phone {
	grid-column: 1 / -1;
	order: 4;
	margin: 0 0 8px !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	font-size: 12.5px !important;
	line-height: 1.6;
	color: var( --stco-ink-sub ) !important;
	display: block !important;
}

/* ---------------------------------------------------------------
 * 8. Buttons
 * ------------------------------------------------------------- */

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry {
	grid-column: 1;
	order: 5;
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry a.wcfm_catalog_enquiry {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100% !important;
	min-width: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 6px !important;
	background: #fff !important;
	color: var( --stco-teal-dark ) !important;
	border: 1.5px solid #bcdeeb !important;
	border-radius: 11px !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box !important;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry a.wcfm_catalog_enquiry:hover {
	background: var( --stco-teal-soft ) !important;
	border-color: var( --stco-teal ) !important;
	color: var( --stco-teal-dark ) !important;
}

/* The icon eats the space the Japanese label needs, so drop it. */
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry a.wcfm_catalog_enquiry span.wcfmfa {
	display: none !important;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry a.wcfm_catalog_enquiry .add_enquiry_label {
	overflow: hidden;
	text-overflow: ellipsis;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item a.wcfmmp-visit-store {
	grid-column: 2;
	order: 6;
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	bottom: auto !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-width: 0 !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 6px !important;
	background: linear-gradient( 135deg, #1fb0c6 0%, #0e7490 100% ) !important;
	color: #fff !important;
	border: none !important;
	border-bottom: none !important;
	border-radius: 11px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-align: center;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-sizing: border-box !important;
	box-shadow: 0 2px 8px rgba( 14, 116, 144, 0.28 ) !important;
	transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item a.wcfmmp-visit-store:hover {
	background: linear-gradient( 135deg, #23bcd4 0%, #0f8099 100% ) !important;
	box-shadow: 0 4px 14px rgba( 14, 116, 144, 0.38 ) !important;
	transform: translateY( -1px );
	color: #fff !important;
}

/* WCFM hides this span on 3+ column layouts, which left the Japanese label
 * rendered as a single stray character. Always show it. */
#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item a.wcfmmp-visit-store span {
	display: inline !important;
}

/* ---------------------------------------------------------------
 * 9. Toolbar / pagination
 * ------------------------------------------------------------- */

.wcfmmp-store-lists-sorting {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px 16px !important;
	background: #f7fafc;
	border: 1px solid var( --stco-line );
	border-radius: 12px;
}

.wcfmmp-store-lists-sorting .wcfm-woocommerce-ordering {
	margin: 0 !important;
	float: none !important;
}

.wcfmmp-store-lists-sorting select {
	height: 38px;
	padding: 0 34px 0 12px;
	background-color: #fff;
	border: 1px solid #d7e2ec;
	border-radius: 9px;
	font-size: 13px;
	color: var( --stco-ink );
	max-width: 100%;
}

.wcfmmp-store-lists-sorting .woocommerce-result-count,
.wcfmmp-store-lists-sorting p {
	margin: 0 !important;
	font-size: 13px;
	color: var( --stco-ink-sub );
}

.wcfmmp-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 28px 0 0 !important;
	float: none !important;
}

.wcfmmp-pagination a,
.wcfmmp-pagination span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var( --stco-line );
	border-radius: 10px;
	background: #fff;
	color: var( --stco-ink ) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.wcfmmp-pagination a:hover {
	background: var( --stco-teal-soft );
	border-color: #bcdeeb;
	color: var( --stco-teal-dark ) !important;
}

.wcfmmp-pagination .current,
.wcfmmp-pagination span.current {
	background: linear-gradient( 135deg, #1fb0c6 0%, #0e7490 100% ) !important;
	border-color: transparent !important;
	color: #fff !important;
}

/* ---------------------------------------------------------------
 * 10. Two-column layout
 *     WCFM floats the sidebar, so its height padded the bottom of the
 *     page. Flex lets both columns end where their content ends.
 * ------------------------------------------------------------- */

#wcfmmp-stores-lists {
	display: flex !important;
	align-items: flex-start;
	gap: 28px;
}

#wcfmmp-stores-lists .right_side {
	float: none !important;
	width: auto !important;
	min-width: 0;
	flex: 1 1 auto;
	order: 1;
	padding: 0 !important;
	margin: 0 !important;
}

/* The sidebar is given an explicit height (matching the store column),
 * which left ~1000px of blank space under its last widget. */
#wcfmmp-stores-lists .left_sidebar {
	float: none !important;
	width: 300px !important;
	flex: 0 0 300px;
	order: 2;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	position: sticky;
	top: 20px;
}

/* Pagination: the theme pads this nav far beyond the buttons. */
#wcfmmp-stores-lists nav.paginations,
#wcfmmp-stores-lists .wcfmmp-pagination nav {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

#wcfmmp-stores-lists .wcfmmp-stores-content-holder,
#wcfmmp-stores-lists .wcfmmp-stores-content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------
 * 11. Sidebar
 * ------------------------------------------------------------- */

#wcfmmp-store-lists-sidebar .wcfmmp-store-search-form {
	margin: 0 !important;
	padding: 0 !important;
}

#wcfmmp-store-lists-sidebar aside.widget {
	float: none !important;
	width: auto !important;
	margin: 0 0 16px !important;
	padding: 16px !important;
	background: #fff !important;
	border: 1px solid var( --stco-line ) !important;
	border-radius: 14px !important;
	box-shadow: 0 1px 2px rgba( 18, 38, 58, 0.04 );
	box-sizing: border-box;
}

/* The price filter renders nothing on a store list, leaving an empty card. */
#wcfmmp-store-lists-sidebar aside.widget:has( .wp-block-woocommerce-filter-wrapper ),
#wcfmmp-store-lists-sidebar aside.widget:has( .wp-block-woocommerce-price-filter ) {
	display: none !important;
}

/* Heading-only widgets act as section labels, not cards. */
#wcfmmp-store-lists-sidebar aside.widget:has( > .wp-block-heading:only-child ),
#wcfmmp-store-lists-sidebar aside.widget:has( .wc-block-customer-account ) {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

#wcfmmp-store-lists-sidebar aside.widget:has( > .wp-block-heading:only-child ) {
	margin: 22px 0 10px !important;
}

#wcfmmp-store-lists-sidebar .wp-block-heading {
	margin: 0 !important;
	padding: 0 0 0 10px !important;
	border-left: 3px solid var( --stco-teal );
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.4;
	color: var( --stco-ink ) !important;
	text-align: left !important;
}

#wcfmmp-store-lists-sidebar .widget-title,
#wcfmmp-store-lists-sidebar .widgettitle,
#wcfmmp-store-lists-sidebar .sidebar_heading h4 {
	margin: 0 0 12px !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var( --stco-ink ) !important;
	text-align: left !important;
}

/* Login */
#wcfmmp-store-lists-sidebar .wc-block-customer-account__link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	background: linear-gradient( 135deg, #1fb0c6 0%, #0e7490 100% ) !important;
	border-radius: 11px;
	color: #fff !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba( 14, 116, 144, 0.24 );
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

#wcfmmp-store-lists-sidebar .wc-block-customer-account__link:hover {
	box-shadow: 0 4px 14px rgba( 14, 116, 144, 0.34 );
	transform: translateY( -1px );
}

#wcfmmp-store-lists-sidebar .wc-block-customer-account__account-icon {
	width: 16px;
	height: 16px;
	fill: #fff;
	color: #fff;
}

/* Search / select controls */
#wcfmmp-store-lists-sidebar input[type="search"],
#wcfmmp-store-lists-sidebar input[type="text"],
#wcfmmp-store-lists-sidebar select {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	background-color: #fff;
	border: 1px solid #d7e2ec;
	border-radius: 10px;
	font-size: 13px;
	color: var( --stco-ink );
	box-sizing: border-box;
}

#wcfmmp-store-lists-sidebar select {
	padding-right: 34px;
}

#wcfmmp-store-lists-sidebar .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
	border: none !important;
	padding: 0 !important;
}

#wcfmmp-store-lists-sidebar .wp-block-search__button,
#wcfmmp-store-lists-sidebar button[type="submit"] {
	flex: 0 0 auto;
	height: 40px;
	margin: 0 !important;
	padding: 0 15px !important;
	background: linear-gradient( 135deg, #1fb0c6 0%, #0e7490 100% ) !important;
	border: none !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

/* New arrivals: one tall image per row wasted ~1200px of height.
 * Render as a compact thumbnail list instead. */
#wcfmmp-store-lists-sidebar .wc-block-grid__products {
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	list-style: none !important;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product-link {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 6px !important;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background 0.16s ease;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product-link:hover {
	background: #f2f8fb;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product-image {
	flex: 0 0 56px;
	width: 56px !important;
	height: 56px;
	margin: 0 !important;
	padding: 0 !important;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product-image img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 9px;
	display: block;
}

#wcfmmp-store-lists-sidebar .wc-block-grid__product-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 12.5px !important;
	font-weight: 600;
	line-height: 1.45;
	color: var( --stco-ink ) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------------------------------------------------------------
 * 12. Responsive
 * ------------------------------------------------------------- */

@media screen and ( max-width: 1024px ) {
	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap {
		grid-template-columns: repeat( auto-fill, minmax( 230px, 1fr ) );
		gap: 22px 18px;
	}

	#wcfmmp-stores-lists {
		flex-direction: column;
		gap: 24px;
	}

	#wcfmmp-stores-lists .left_sidebar {
		width: 100% !important;
		flex: 1 1 auto;
		position: static;
	}
}

@media screen and ( max-width: 600px ) {
	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer {
		padding: 38px 14px 14px !important;
	}

	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer .store-data h2 {
		font-size: 16px !important;
		min-height: 0;
	}

	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item .store-footer p.store-enquiry a.wcfm_catalog_enquiry,
	#wcfmmp-stores-wrap ul.wcfmmp-store-wrap li.wcfmmp-single-store.item a.wcfmmp-visit-store {
		height: 44px !important;
		font-size: 13px !important;
	}
}
