/**
 * Flower Marketplace KE - "Jumia style" front-end theme.
 *
 * A skin, not a rebuild: every selector below targets markup this plugin
 * (or Storefront/WooCommerce/Dokan) already renders. Nothing here depends
 * on the site running Storefront specifically, but the header selectors
 * (#masthead, .site-branding, .site-search) assume it, since that's what
 * every storefront_* hook in this plugin is written for. On a different
 * theme those few rules simply won't match anything, and the product-grid,
 * fmke-* component, and footer styling below will still apply.
 *
 * Palette is inspired by the big Kenyan marketplace look (orange + black
 * + white, high-contrast deal badges) without copying any brand asset.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--fmke-orange: #f68b1e;
	--fmke-orange-dark: #d97600;
	--fmke-orange-light: #fff4e6;
	--fmke-black: #0f1111;
	--fmke-dark: #1a1a1a;
	--fmke-red: #d5182c;
	--fmke-text: #24292d;
	--fmke-muted: #75797d;
	--fmke-border: #e4e7e8;
	--fmke-bg: #f5f5fa;
	--fmke-card-bg: #ffffff;
	--fmke-star: #ffa41c;
	--fmke-radius-sm: 3px;
	--fmke-radius: 6px;
	--fmke-shadow: 0 1px 3px rgba(15, 17, 17, 0.08);
	--fmke-shadow-hover: 0 4px 14px rgba(15, 17, 17, 0.14);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
body {
	background: var(--fmke-bg);
	color: var(--fmke-text);
}

body.woocommerce-page,
body.home {
	background: var(--fmke-bg);
}

a {
	color: var(--fmke-text);
}

a:hover {
	color: var(--fmke-orange-dark);
}

.woocommerce-page .content-area,
.home .content-area {
	max-width: 1280px;
}

/* ==========================================================================
   3. Buttons (WooCommerce + Dokan + this plugin all share .button)
   ========================================================================== */
.button,
button,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.dokan-btn,
.dokan-btn-theme,
.fmke-price-filter-apply,
.fmke-wishlist-btn {
	background: var(--fmke-orange);
	border: 1px solid var(--fmke-orange);
	color: #fff;
	border-radius: var(--fmke-radius-sm);
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
	text-transform: none;
	box-shadow: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #respond input#submit:hover,
.dokan-btn:hover,
.dokan-btn-theme:hover,
.fmke-price-filter-apply:hover,
.fmke-wishlist-btn:hover {
	background: var(--fmke-orange-dark);
	border-color: var(--fmke-orange-dark);
	color: #fff;
}

.button:active,
.woocommerce a.button:active {
	transform: translateY(1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.checkout-button,
.wc-proceed-to-checkout .checkout-button {
	background: var(--fmke-black);
	border-color: var(--fmke-black);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.checkout-button:hover {
	background: #000;
	border-color: #000;
}

.fmke-wishlist-btn.is-saved {
	background: #fff;
	color: var(--fmke-red);
	border-color: var(--fmke-red);
}

/* ==========================================================================
   4. Header - top strip, branding, search, account/cart/wishlist icons
   ========================================================================== */
#masthead,
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--fmke-border);
	box-shadow: var(--fmke-shadow);
}

/* Thin dark utility strip above the main header, Jumia-style. Storefront
   doesn't have a template part for this, so it's drawn with a pseudo
   element on the header wrapper - purely decorative, no markup needed. */
#masthead::before {
	content: "Kenya's flower, gift & event rentals marketplace \2014 pay by M-Pesa, delivered same day";
	display: block;
	background: var(--fmke-black);
	color: #d8d8d8;
	font-size: 12px;
	line-height: 32px;
	padding: 0 20px;
	text-align: center;
}

@media (max-width: 768px) {
	#masthead::before {
		font-size: 10px;
		line-height: 26px;
		padding: 0 10px;
	}
}

.site-branding .site-title a,
.site-branding .site-title a:hover {
	color: var(--fmke-black);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.site-branding .site-title a::after {
	content: "\25CF";
	color: var(--fmke-orange);
	margin-left: 4px;
	font-size: 0.6em;
	vertical-align: middle;
}

/* Search bar: white field, orange button - the Jumia focal point of the header */
.site-search .woocommerce-product-search,
.site-search form {
	display: flex;
	border: 2px solid var(--fmke-orange);
	border-radius: var(--fmke-radius-sm);
	overflow: hidden;
	background: #fff;
}

.site-search input[type="search"],
.site-search input.search-field {
	border: none;
	padding: 10px 14px;
	flex: 1 1 auto;
	background: #fff;
}

.site-search input[type="search"]:focus {
	outline: none;
}

.site-search button,
.site-search input[type="submit"] {
	border: none;
	border-radius: 0;
	background: var(--fmke-orange);
	color: #fff;
	padding: 0 18px;
	font-weight: 700;
}

.site-search button:hover,
.site-search input[type="submit"]:hover {
	background: var(--fmke-orange-dark);
}

/* Account dropdown */
.fmke-account-dropdown {
	position: relative;
}

.fmke-account-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	color: var(--fmke-text);
	font-weight: 600;
	padding: 6px 4px;
}

.fmke-account-toggle:hover {
	background: transparent;
	color: var(--fmke-orange);
}

.fmke-account-icon {
	color: var(--fmke-orange);
	font-size: 18px;
}

.fmke-account-panel {
	position: absolute;
	right: 0;
	top: 100%;
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
	box-shadow: var(--fmke-shadow-hover);
	min-width: 180px;
	z-index: 50;
	padding: 6px 0;
}

.fmke-account-panel a {
	display: block;
	padding: 9px 16px;
	font-size: 14px;
}

.fmke-account-panel a:hover {
	background: var(--fmke-orange-light);
	color: var(--fmke-orange-dark);
}

/* Wishlist heart icon in the header */
.fmke-wishlist-header-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 6px 8px;
	color: var(--fmke-text);
}

.fmke-wishlist-header-icon:hover {
	color: var(--fmke-red);
}

.fmke-wishlist-heart {
	font-size: 20px;
}

.fmke-wishlist-count {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--fmke-red);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 999px;
	min-width: 16px;
	text-align: center;
}

/* Cart icon counter bubble + "added to cart" toast */
.site-header-cart .cart-contents-count,
.fmke-cart-count {
	background: var(--fmke-red);
	color: #fff;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 6px;
}

.fmke-added-notice {
	display: inline-block;
	margin-left: 10px;
	padding: 4px 10px;
	background: #1e7e34;
	color: #fff;
	border-radius: var(--fmke-radius-sm);
	font-size: 12px;
	font-weight: 600;
}

/* ==========================================================================
   5. Category shortcut chips (horizontal scroll row above the shop grid)
   ========================================================================== */
.fmke-cat-shortcuts {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 14px 4px 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--fmke-border);
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.fmke-cat-shortcuts::-webkit-scrollbar {
	height: 6px;
}

.fmke-cat-shortcuts::-webkit-scrollbar-thumb {
	background: var(--fmke-border);
	border-radius: 999px;
}

.fmke-cat-shortcut {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fmke-text);
	white-space: nowrap;
	transition: all 0.15s ease;
}

.fmke-cat-shortcut:hover {
	border-color: var(--fmke-orange);
	color: var(--fmke-orange-dark);
}

.fmke-cat-shortcut.is-active,
.fmke-cat-shortcut-active {
	background: var(--fmke-orange);
	border-color: var(--fmke-orange);
	color: #fff;
}

.fmke-cat-shortcut-icon {
	font-size: 16px;
	line-height: 1;
}

.fmke-cat-shortcut-icon-image {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
}

/* ==========================================================================
   6. Shop sidebar - category accordion + price filter
   ========================================================================== */
.fmke-shop-sidebar,
.fmke-price-filter {
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
	padding: 16px;
	margin-bottom: 18px;
}

.fmke-shop-sidebar-title {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--fmke-orange);
	display: inline-block;
}

.fmke-shop-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmke-shop-sidebar li a {
	display: flex;
	justify-content: space-between;
	padding: 7px 2px;
	font-size: 14px;
	color: var(--fmke-text);
}

.fmke-shop-sidebar li a:hover {
	color: var(--fmke-orange-dark);
}

.fmke-price-filter-fields {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

.fmke-price-field {
	flex: 1;
	font-size: 12px;
	color: var(--fmke-muted);
}

.fmke-price-field input {
	display: block;
	width: 100%;
	margin-top: 4px;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius-sm);
	padding: 7px 8px;
}

.fmke-price-filter-apply {
	width: 100%;
	padding: 9px 0;
}

.fmke-price-filter-clear {
	display: block;
	text-align: center;
	margin-top: 8px;
	font-size: 12px;
	color: var(--fmke-muted);
	text-decoration: underline;
}

/* ==========================================================================
   7. Homepage promo banners (Flowers / Gifts / Event Rentals)
   ========================================================================== */
.fmke-promo-banners {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 18px 0 28px;
}

.fmke-promo-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 160px;
	padding: 20px;
	border-radius: var(--fmke-radius);
	overflow: hidden;
	background-color: var(--fmke-orange);
	background-size: cover;
	background-position: center;
	color: #fff;
	box-shadow: var(--fmke-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fmke-promo-banner:hover {
	transform: translateY(-2px);
	box-shadow: var(--fmke-shadow-hover);
}

.fmke-promo-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 17, 17, 0) 30%, rgba(15, 17, 17, 0.65) 100%);
}

.fmke-promo-banner-name,
.fmke-promo-banner-tagline,
.fmke-promo-banner-cta {
	position: relative;
	z-index: 1;
	color: #fff;
}

.fmke-promo-banner-name {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

.fmke-promo-banner-tagline {
	font-size: 13px;
	opacity: 0.9;
	margin: 2px 0 8px;
}

.fmke-promo-banner-cta {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	background: var(--fmke-orange);
	padding: 5px 12px;
	border-radius: 999px;
	width: fit-content;
}

@media (max-width: 782px) {
	.fmke-promo-banners {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   8. Top Categories - circular tile grid
   ========================================================================== */
.fmke-top-categories {
	margin: 10px 0 30px;
}

.fmke-top-categories-title,
.fmke-featured-vendors-title,
.fmke-best-sellers-title,
.fmke-trending-products-title,
.fmke-flash-sales-heading {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 16px;
	padding-left: 12px;
	border-left: 4px solid var(--fmke-orange);
}

.fmke-top-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 16px;
}

.fmke-top-category {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 12px 6px;
	border-radius: var(--fmke-radius);
	transition: background-color 0.15s ease;
}

.fmke-top-category:hover {
	background: #fff;
	box-shadow: var(--fmke-shadow);
}

.fmke-top-category-image {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background-color: var(--fmke-orange-light);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--fmke-orange-light);
	margin-bottom: 8px;
}

.fmke-top-category:hover .fmke-top-category-image {
	border-color: var(--fmke-orange);
}

.fmke-top-category-initial {
	font-size: 26px;
	font-weight: 800;
	color: var(--fmke-orange-dark);
}

.fmke-top-category-name {
	font-size: 13px;
	font-weight: 700;
	color: var(--fmke-text);
}

.fmke-top-category-count {
	font-size: 11px;
	color: var(--fmke-muted);
}

/* ==========================================================================
   9. Featured Vendors
   ========================================================================== */
.fmke-featured-vendors {
	margin: 0 0 30px;
}

.fmke-featured-vendors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.fmke-vendor-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
	padding: 20px 14px;
	box-shadow: var(--fmke-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fmke-vendor-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--fmke-shadow-hover);
	border-color: var(--fmke-orange);
}

.fmke-vendor-image {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: var(--fmke-orange-light);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.fmke-vendor-initial {
	font-size: 22px;
	font-weight: 800;
	color: var(--fmke-orange-dark);
}

.fmke-vendor-name {
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 2px;
}

.fmke-vendor-city {
	font-size: 12px;
	color: var(--fmke-muted);
	margin-bottom: 4px;
}

.fmke-vendor-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	margin-bottom: 4px;
}

.fmke-vendor-stars {
	color: var(--fmke-star);
	letter-spacing: 1px;
}

.fmke-vendor-rating-value {
	color: var(--fmke-muted);
}

.fmke-vendor-count {
	font-size: 11px;
	color: var(--fmke-muted);
}

/* ==========================================================================
   10. Flash Sales - countdown badge + section banner
   ========================================================================== */
.fmke-flash-sales-section {
	margin: 0 0 30px;
	background: linear-gradient(90deg, #fff8f0 0%, #fff 100%);
	border: 1px solid #ffe1bd;
	border-radius: var(--fmke-radius);
	padding: 18px;
}

.fmke-flash-sales-heading {
	border-left-color: var(--fmke-red);
}

.fmke-flash-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	background: var(--fmke-red);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: var(--fmke-radius-sm);
	line-height: 1.5;
}

.fmke-flash-banner {
	background: var(--fmke-red);
	color: #fff;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: var(--fmke-radius-sm);
	margin-bottom: 16px;
	display: inline-block;
}

.fmke-flash-time {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.03em;
}

/* Give the product image wrapper relative positioning so the flash badge
   (and the service badges below) can sit on the corner of the image. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative;
	display: block;
}

/* ==========================================================================
   11. Service badges (rendered just above each product title in the grid)
   ========================================================================== */
.fmke-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 6px 0 2px;
}

.fmke-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: var(--fmke-radius-sm);
	background: var(--fmke-orange-light);
	color: var(--fmke-orange-dark);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.fmke-badge-icon {
	font-size: 11px;
}

/* ==========================================================================
   12. WooCommerce product grid - the core Jumia-style card
   ========================================================================== */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 20px !important;
}

.woocommerce ul.products.columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.woocommerce ul.products.columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	background: var(--fmke-card-bg);
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
	padding: 12px 12px 16px;
	box-shadow: var(--fmke-shadow);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	position: relative;
}

.woocommerce ul.products li.product:hover {
	box-shadow: var(--fmke-shadow-hover);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product img {
	border-radius: var(--fmke-radius-sm);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--fmke-text);
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

.woocommerce ul.products li.product .star-rating {
	font-size: 12px;
	color: var(--fmke-border);
	margin: 0 0 4px;
}

.woocommerce ul.products li.product .star-rating span::before,
.woocommerce .star-rating span::before {
	color: var(--fmke-star);
}

.woocommerce ul.products li.product .price {
	font-size: 15px;
	font-weight: 800;
	color: var(--fmke-black);
	display: block;
}

.woocommerce ul.products li.product .price del {
	font-size: 12px;
	font-weight: 400;
	color: var(--fmke-muted);
	opacity: 1;
	margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--fmke-black);
}

.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	background: var(--fmke-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 4px 7px;
	border-radius: var(--fmke-radius-sm);
	top: 12px;
	right: auto;
	left: 12px;
	margin: 0;
}

/* Flash-sale badge sits just under the discount ribbon if both are present */
.woocommerce ul.products li.product .fmke-flash-badge {
	top: 12px;
	left: 12px;
}

.woocommerce ul.products li.product .onsale ~ .fmke-flash-badge {
	top: 38px;
}

.woocommerce ul.products li.product .fmke-delivery-timeframe {
	font-size: 11px;
	color: var(--fmke-muted);
	margin: 2px 0 6px;
}

.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 8px;
	padding: 8px 0;
	font-size: 12px;
}

.woocommerce ul.products li.product .fmke-wishlist-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	background: #fff;
	border: 1px solid var(--fmke-border);
	color: var(--fmke-text);
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.woocommerce ul.products li.product .fmke-wishlist-btn.is-saved {
	background: var(--fmke-red);
	border-color: var(--fmke-red);
	color: #fff;
}

.woocommerce ul.products li.product .fmke-wishlist-btn-label {
	display: none;
}

@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.woocommerce ul.products li.product {
		padding: 8px 8px 12px;
	}
}

/* ==========================================================================
   13. Single product page extras
   ========================================================================== */
.fmke-trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 16px 0;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
}

.fmke-trust-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--fmke-text);
}

.fmke-trust-badge-icon {
	font-size: 16px;
	color: var(--fmke-orange);
}

.fmke-delivery-timeframe {
	font-size: 13px;
	color: var(--fmke-muted);
	margin: 8px 0;
}

.fmke-delivery-timeframe-icon {
	margin-right: 4px;
}

/* ==========================================================================
   14. Wishlist page
   ========================================================================== */
.fmke-wishlist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.fmke-wishlist-item {
	background: #fff;
	border: 1px solid var(--fmke-border);
	border-radius: var(--fmke-radius);
	padding: 14px;
	box-shadow: var(--fmke-shadow);
}

.fmke-wishlist-item-title {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 6px;
}

.fmke-wishlist-item-price {
	display: block;
	font-weight: 800;
	color: var(--fmke-black);
	margin-bottom: 10px;
}

/* ==========================================================================
   15. Best sellers / trending sections (share the products grid styling)
   ========================================================================== */
.fmke-best-sellers,
.fmke-trending-products {
	margin: 0 0 30px;
}

/* ==========================================================================
   16. Footer - dark, multi-column
   ========================================================================== */
.fmke-site-footer {
	background: var(--fmke-black);
	color: #cfd2d3;
	padding: 40px 0 0;
	margin-top: 40px;
}

.fmke-footer-columns {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px 30px;
}

.fmke-footer-brand {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 8px;
}

.fmke-footer-tagline {
	font-size: 13px;
	line-height: 1.6;
	color: #9a9d9e;
	margin: 0;
}

.fmke-footer-heading {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 12px;
}

.fmke-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmke-footer-links li {
	margin-bottom: 8px;
}

.fmke-footer-links a {
	color: #b7babb;
	font-size: 13px;
}

.fmke-footer-links a:hover {
	color: var(--fmke-orange);
}

.fmke-footer-cities {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fmke-footer-city-badge {
	font-size: 11px;
	background: #232525;
	color: #cfd2d3;
	padding: 4px 8px;
	border-radius: var(--fmke-radius-sm);
}

.fmke-footer-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fmke-footer-payment-badge {
	font-size: 11px;
	font-weight: 700;
	background: #fff;
	color: var(--fmke-black);
	padding: 4px 8px;
	border-radius: var(--fmke-radius-sm);
}

.fmke-footer-bottom {
	border-top: 1px solid #2a2c2c;
	text-align: center;
	font-size: 12px;
	color: #8b8e8f;
	padding: 16px 20px;
}

@media (max-width: 900px) {
	.fmke-footer-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.fmke-footer-columns {
		grid-template-columns: 1fr;
	}
}
