/*
Theme Name: LuvMuggs
Theme URI: https://luvmuggs.com/
Author: LuvMuggs
Author URI: https://luvmuggs.com/
Description: Bespoke WooCommerce storefront for LuvMuggs - ceramic, travel, glass and novelty drinkware. Grid-based grocery-style shop layout with mega menu, category rail, product carousels and deal countdown.
Version: 1.2.1
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luvmuggs
Tags: e-commerce, woocommerce, shop, two-columns, custom-menu, featured-images, full-width-template
WC requires at least: 8.0
WC tested up to: 11.0
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--theme-body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--theme-body-font-size: 16px;
	--theme-body-font-weight: regular;
	--theme-body-letter-spacing: -0.02em;
	--theme-body-line-height: 1.5;
	--theme-body-background: #ffffff;
	--theme-heading-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--theme-heading-font-weight: 700;
	--theme-heading-letter-spacing: -0.02em;
	--theme-main-menu-font: "Inter", sans-serif;
	--theme-main-menu-font-size: 15px;
	--theme-main-menu-font-weight: 600;
	--theme-main-menu-letter-spacing: -0.02em;
	--theme-form-input-font: "Inter", sans-serif;
	--theme-form-input-font-weight: 500;
	--theme-form-input-font-size: 14px;
	--theme-form-input-letter-spacing: -0.02em;
	--theme-form-input-height: 42px;
	--theme-form-button-font: "Inter", sans-serif;
	--theme-form-button-font-weight: 700;
	--theme-form-button-font-size: 14px;
	--theme-form-button-letter-spacing: -0.02em;
	--theme-form-button-height: 42px;
	--theme-product-price-font: "Barlow", "Inter", sans-serif;
	--theme-product-price-font-weight: 700;
	--theme-product-price-font-size: 22px;
	--theme-product-price-letter-spacing: -0.02em;
	--theme-product-title-font: "Inter", sans-serif;
	--theme-product-title-font-weight: 500;
	--theme-product-title-font-size: 14px;
	--theme-product-title-letter-spacing: -0.02em;
	--theme-site-border-radius: 6px;
	--theme-site-width: 1440px;
	--theme-site-gutter: 30px;
	--theme-text-excerpt-font-size: 14px;
	--theme-text-description-font-size: 16px;
	--theme-text-teaser-font-size: 18px;

	--theme-primary-color: #634c9f;
	--theme-primary-active-color: #39245f;
	--theme-secondary-color: #ffd200;
	--theme-secondary-active-color: #f3c901;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header .header-topbar .header-text p { margin-bottom: 0; }
.site-header .header-main { padding: 18px 0; }
.site-header .site-brand img { max-height: 44px; width: auto; }
.site-header .site-brand .brand-text {
	font-family: var(--theme-heading-font);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--theme-primary-active-color);
	line-height: 1;
	white-space: nowrap;
}
.site-header .site-brand .brand-text span { color: var(--theme-primary-color); }
.site-header .site-brand a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-header .site-brand .brand-mark {
	width: 38px; height: 38px; flex: 0 0 38px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px;
	background: var(--theme-primary-color);
	color: #fff;
}
.site-header .site-brand .brand-mark svg { width: 22px; height: 22px; }

.header-search .search-form { position: relative; }
.header-search .search-form .search-input { padding-right: 46px; }
.header-search .search-form button {
	position: absolute; right: 0; top: 0; height: 100%;
	width: 44px; border: 0; background: transparent;
	color: var(--theme-primary-active-color); cursor: pointer;
}
.header-search .search-form .search-cat {
	border: 0 !important; background: transparent; outline: none; cursor: pointer;
	font-size: 13px; font-weight: 600; color: #4b5563;
	width: auto; min-width: 128px; max-width: 200px; height: auto; padding: 0 4px;
}
.header-search .search-form-inner {
	display: flex; align-items: center; gap: 0;
	border: 2px solid var(--theme-primary-color);
	border-radius: var(--theme-site-border-radius);
	background: #fff; overflow: hidden; height: 46px;
}
.header-search .search-form-inner .search-input {
	border: 0 !important; height: 42px; box-shadow: none !important; flex: 1 1 auto;
}
.header-search .search-form-inner .cat-wrap {
	border-left: 1px solid #e5e7eb; padding: 0 10px; display: flex; align-items: center; height: 24px;
}
.header-search .search-form-inner button {
	position: static; width: 46px; height: 42px; flex: 0 0 46px;
	background: transparent;
}

.site-header .categories-menu > .categories-toggle {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--theme-primary-color); color: #fff;
	font-weight: 700; font-size: 14px; padding: 0 18px; height: 46px;
	border-radius: var(--theme-site-border-radius) var(--theme-site-border-radius) 0 0;
	text-decoration: none;
}
.site-header .header-nav .header-inner { min-height: 46px; }

/* ==========================================================================
   Home modules
   ========================================================================== */
.site-module { margin-bottom: 40px; }
.site-module-header .entry-title { letter-spacing: -0.03em; }

.lm-hero .site-banner {
	display: block; position: relative;
	background-size: cover; background-position: center;
	min-height: 460px; border-radius: var(--theme-site-border-radius);
}
.lm-hero .site-banner::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.80) 42%, rgba(255,255,255,0) 72%);
}
.lm-hero .entry-wrapper { position: relative; z-index: 2; min-height: 460px; }
.lm-hero .entry-title { max-width: 560px; }
.lm-hero .banner-badge {
	display: inline-block; padding: 6px 12px; border-radius: 40px;
	font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
}
.lm-hero .banner-badge.green { background: #dcfce7; color: #15803d; }
.lm-hero .banner-badge.yellow { background: var(--theme-secondary-color); color: #4b3800; }
.lm-hero .banner-badge.violet { background: #ede9fe; color: var(--theme-primary-active-color); }

@media (max-width: 991px) {
	.lm-hero .site-banner, .lm-hero .entry-wrapper { min-height: 380px; }
	.lm-hero .site-banner::after {
		background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.5) 100%);
	}
}
@media (max-width: 575px) {
	.lm-hero .site-banner, .lm-hero .entry-wrapper { min-height: 330px; }
}

.lm-iconboxes {
	display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	padding: 24px; background: #fff;
}
.lm-iconboxes .site-iconbox-icon {
	width: 48px; height: 48px; flex: 0 0 48px; margin-right: 14px;
	border-radius: 50%; background: #f4f1fb; color: var(--theme-primary-color);
	display: inline-flex; align-items: center; justify-content: center;
}
.lm-iconboxes .site-iconbox-icon svg { width: 24px; height: 24px; }
@media (max-width: 991px) { .lm-iconboxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .lm-iconboxes { grid-template-columns: 1fr; padding: 18px; } }

.lm-cat-rail { display: grid; gap: 16px; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.lm-cat-card {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 18px 10px; text-align: center; text-decoration: none;
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	background: #fff; transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.lm-cat-card:hover { border-color: var(--theme-primary-color); box-shadow: 0 8px 24px rgba(99,76,159,.12); transform: translateY(-2px); }
.lm-cat-card .cat-thumb {
	width: 78px; height: 78px; border-radius: 50%; overflow: hidden;
	background: #f5f3fa; display: flex; align-items: center; justify-content: center;
}
.lm-cat-card .cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lm-cat-card .cat-name { font-size: 13px; font-weight: 600; color: #111827; line-height: 1.3; }
.lm-cat-card .cat-count { font-size: 11px; color: #9ca3af; }
@media (max-width: 1199px) { .lm-cat-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575px) { .lm-cat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lm-promo-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-promo {
	position: relative; overflow: hidden; border-radius: var(--theme-site-border-radius);
	min-height: 210px; display: flex; align-items: center;
	background-size: cover; background-position: center; padding: 26px;
}
.lm-promo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.72) 55%, rgba(255,255,255,.05) 100%);
}
.lm-promo > * { position: relative; z-index: 2; max-width: 62%; }
.lm-promo .entry-title { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: #111827; margin-bottom: 14px; }
.lm-promo .entry-subtitle { font-size: 12px; font-weight: 600; color: #ea580c; margin-bottom: 8px; display: block; }
@media (max-width: 991px) { .lm-promo-grid { grid-template-columns: 1fr; } .lm-promo > * { max-width: 70%; } }

.lm-deal {
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	background: #faf9fd; padding: 26px;
}
.lm-countdown { display: inline-flex; gap: 10px; }
.lm-countdown .cd-unit {
	min-width: 56px; padding: 8px 6px; text-align: center; background: #fff;
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
}
.lm-countdown .cd-num { display: block; font-family: var(--theme-product-price-font); font-size: 22px; font-weight: 700; color: var(--theme-primary-active-color); line-height: 1; }
.lm-countdown .cd-lab { display: block; font-size: 11px; color: #9ca3af; margin-top: 4px; }

/* ==========================================================================
   Product grid / card
   ========================================================================== */
/* WooCommerce ships a float-based product loop; this grid replaces it, so the
   float/width/margin rules from woocommerce-layout.css have to be unset. */
.woocommerce ul.products, ul.products.lm-grid { margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after,
.products.lm-grid::before, .products.lm-grid::after { content: none !important; display: none !important; }
.woocommerce ul.products.lm-grid li.product,
.products.lm-grid > li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
	list-style: none !important;
}
.products.lm-grid {
	display: grid; gap: 0; list-style: none; margin: 0; padding: 0;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); overflow: hidden;
	background: #fff;
}
.products.lm-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.products.lm-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products.lm-grid > li.product { border-right: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.site-slider.products-slider .product-wrapper { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); background: #fff; height: 100%; }
@media (max-width: 1199px) { .products.lm-grid, .products.lm-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .products.lm-grid, .products.lm-grid.cols-4, .products.lm-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.product-wrapper { position: relative; height: 100%; display: flex; }
.product-inner { display: flex; flex-direction: column; width: 100%; }
.product-wrapper .thumbnail-wrapper { position: relative; }
.product-wrapper .product-thumbnail img { width: 100%; height: auto; display: block; border-radius: 4px; }
.product-wrapper .thumbnail-badges {
	position: absolute; top: 6px; left: 6px; z-index: 3;
	display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
}
.product-wrapper .thumbnail-badges .badge {
	font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 4px;
}
.product-wrapper .thumbnail-badges .badge.sale { background: #ef4444; color: #fff; }
.product-wrapper .thumbnail-badges .badge.new { background: var(--theme-primary-color); color: #fff; }
.product-wrapper .thumbnail-badges .badge.bestseller { background: var(--theme-secondary-color); color: #4b3800; }
.product-wrapper .thumbnail-buttons {
	position: absolute; top: 6px; right: 6px; z-index: 3;
	display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(6px);
	transition: opacity .2s ease, transform .2s ease;
}
.product-wrapper:hover .thumbnail-buttons { opacity: 1; transform: none; }
.product-wrapper .thumbnail-buttons a {
	width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #374151;
	border: 1px solid #e5e7eb; display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; font-size: 14px;
}
.product-wrapper .thumbnail-buttons a:hover { background: var(--theme-primary-color); color: #fff; border-color: var(--theme-primary-color); }
.product-wrapper .content-wrapper { padding-top: 12px; flex: 1 1 auto; display: flex; flex-direction: column; }
.product-wrapper .product-title {
	font-size: var(--theme-product-title-font-size); font-weight: var(--theme-product-title-font-weight);
	line-height: 1.4; margin: 0 0 6px;
	display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
	/* Both bounds, so a third line is clipped rather than half-shown, and every
	   card in a row still lines its price up at the same height. */
	min-height: 2.8em; max-height: 2.8em;
}
.product-wrapper .product-title a { display: block; }
.product-wrapper .product-title a { color: #111827; text-decoration: none; }
.product-wrapper .product-title a:hover { color: var(--theme-primary-color); }
.product-wrapper .product-brand { font-size: 11px; color: #9ca3af; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.product-wrapper .product-price-wrapper .price {
	font-family: var(--theme-product-price-font); font-size: var(--theme-product-price-font-size);
	font-weight: 700; color: var(--theme-primary-active-color); line-height: 1.1;
}
.product-wrapper .product-price-wrapper .price del { font-size: 14px; color: #9ca3af; font-weight: 500; margin-right: 6px; }
.product-wrapper .product-price-wrapper .price del .amount { color: #9ca3af; }
.product-wrapper .product-price-wrapper .price ins { text-decoration: none; }
.product-wrapper .product-cart { margin-top: auto; padding-top: 12px; }
.product-wrapper .product-cart .button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; height: 40px; border-radius: var(--theme-site-border-radius);
	background: #f3f0fa; color: var(--theme-primary-active-color);
	font-size: 13px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.product-wrapper .product-cart .button:hover,
.product-wrapper .product-cart .button.added { background: var(--theme-primary-color); color: #fff; }
.product-wrapper .product-cart .added_to_cart { display: none; }
.product-wrapper .product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.product-wrapper .product-rating .rating-count { font-size: 11px; color: #9ca3af; }
.product-wrapper .product-stock { font-size: 11px; margin-top: 6px; }
.product-wrapper .product-stock.in { color: #16a34a; }
.product-wrapper .product-stock.out { color: #dc2626; }

/* WooCommerce renders stars through its own icon font; this theme draws them
   with plain characters, so both the font-family and the glyph content have to
   be replaced or the markup shows literal "sssss". */
.star-rating, .woocommerce .star-rating {
	position: relative; font-size: 12px; width: 74px; height: 14px; line-height: 1;
	font-family: var(--theme-body-font) !important; overflow: hidden; float: none;
}
.star-rating::before, .woocommerce .star-rating::before {
	content: "\2605\2605\2605\2605\2605" !important; color: #e5e7eb; letter-spacing: 2px;
	position: absolute; left: 0; top: 0; font-family: var(--theme-body-font) !important;
}
.star-rating span, .woocommerce .star-rating span {
	position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; font-family: inherit;
}
.star-rating span::before, .woocommerce .star-rating span::before {
	content: "\2605\2605\2605\2605\2605" !important; color: #f59e0b; letter-spacing: 2px;
	position: absolute; left: 0; top: 0; font-family: var(--theme-body-font) !important;
}

/* ==========================================================================
   Shop / archive
   ========================================================================== */
.lm-shop-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 30px; align-items: start; }
@media (max-width: 991px) { .lm-shop-layout { grid-template-columns: 1fr; } }
.lm-sidebar .widget {
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	padding: 20px; margin-bottom: 22px; background: #fff;
}
.lm-sidebar .widget-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.02em; }
.lm-sidebar ul { list-style: none; margin: 0; padding: 0; }
.lm-sidebar ul li { padding: 5px 0; font-size: 13px; }
.lm-sidebar ul li a { color: #4b5563; text-decoration: none; }
.lm-sidebar ul li a:hover { color: var(--theme-primary-color); }

.lm-shop-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	padding: 12px 16px; margin-bottom: 20px; background: #fff;
}
.lm-page-head { background: #f8f7fc; padding: 22px 0; margin-bottom: 30px; border-bottom: 1px solid #eceaf3; }
.lm-page-head .breadcrumb-nav { font-size: 13px; color: #6b7280; }
.lm-page-head .breadcrumb-nav a { color: #6b7280; text-decoration: none; }
.lm-page-head .breadcrumb-nav a:hover { color: var(--theme-primary-color); }
.lm-page-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 0; }

.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 26px 0 0; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--theme-site-border-radius);
	border: 1px solid #e5e7eb; text-decoration: none; color: #374151; font-weight: 600; font-size: 14px;
}
.woocommerce-pagination ul li span.current { background: var(--theme-primary-color); border-color: var(--theme-primary-color); color: #fff; }

/* ==========================================================================
   Single product
   ========================================================================== */
.lm-single { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 991px) { .lm-single { grid-template-columns: 1fr; gap: 26px; } }
/* WooCommerce floats the gallery at 48% of the page; inside this grid column it
   has to fill the column instead. The thumbnails then run down the left-hand
   side of a 500x500 main image, which is why the container is itself a grid. */
.lm-single .woocommerce-product-gallery,
.woocommerce .lm-single div.product .woocommerce-product-gallery {
	width: fit-content !important; max-width: 100%; float: none !important; margin: 0 !important;
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 16px;
	display: grid; grid-template-columns: 78px 500px; gap: 14px;
	align-items: start; justify-content: start;
	position: relative;
}
/* One image means no thumbnail rail, so the main image takes the whole box. */
.lm-single .woocommerce-product-gallery.lm-single-image { grid-template-columns: 500px; }
@media (max-width: 1199px) {
	.lm-single .woocommerce-product-gallery,
	.woocommerce .lm-single div.product .woocommerce-product-gallery { grid-template-columns: 72px minmax(0, 1fr); }
	.lm-single .woocommerce-product-gallery.lm-single-image { grid-template-columns: minmax(0, 1fr); }
	.lm-single .woocommerce-product-gallery__wrapper { max-width: none; }
}

.lm-single .woocommerce-product-gallery__wrapper {
	grid-column: 2; margin: 0; max-width: 500px;
}
.lm-single .woocommerce-product-gallery.lm-single-image .woocommerce-product-gallery__wrapper { grid-column: 1; }
.lm-single .woocommerce-product-gallery img { border-radius: 4px; width: 100%; height: auto; display: block; }
.lm-single .woocommerce-product-gallery__trigger {
	position: absolute; top: 26px; right: 26px; z-index: 5;
	width: 34px; height: 34px; border-radius: 50%; background: #fff;
	border: 1px solid #e5e7eb; display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; font-size: 15px; color: #4b5563;
}
.lm-single .woocommerce-product-gallery__trigger:hover { background: var(--theme-primary-color); color: #fff; border-color: var(--theme-primary-color); }

.lm-single .flex-control-thumbs {
	grid-column: 1; grid-row: 1;
	display: flex; flex-direction: column; gap: 10px;
	list-style: none; margin: 0; padding: 0;
	max-height: 500px; overflow-y: auto;
}
/* WooCommerce lays these out as a 25%-wide four-across row; in a vertical rail
   each one has to take the full column, so the width and float are unset. */
.lm-single .flex-control-thumbs li,
.woocommerce .lm-single div.product div.images .flex-control-thumbs li {
	margin: 0 !important; width: 100% !important; float: none !important; list-style: none;
}
.lm-single .flex-control-thumbs img,
.woocommerce .lm-single div.product div.images .flex-control-thumbs img {
	border: 1px solid #e5e7eb; border-radius: 4px; cursor: pointer; opacity: .72;
	width: 100% !important; aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.lm-single .flex-control-thumbs img.flex-active,
.lm-single .flex-control-thumbs img:hover { opacity: 1; border-color: var(--theme-primary-color); }

@media (max-width: 575px) {
	/* Below the fold on a phone a vertical rail wastes width, so it lies flat. */
	.lm-single .woocommerce-product-gallery,
	.woocommerce .lm-single div.product .woocommerce-product-gallery { grid-template-columns: minmax(0, 1fr); }
	.lm-single .woocommerce-product-gallery__wrapper { grid-column: 1; grid-row: 1; max-width: none; }
	.lm-single .flex-control-thumbs {
		grid-column: 1; grid-row: 2;
		flex-direction: row; flex-wrap: wrap; max-height: none;
	}
	.lm-single .flex-control-thumbs li { width: 72px; }
}
.woocommerce .lm-single div.product .summary, .lm-single .summary {
	width: 100% !important; float: none !important; margin: 0 !important;
}
.lm-single .woocommerce-product-details__short-description { font-size: 14px; color: #4b5563; line-height: 1.7; margin: 12px 0; }
.lm-single .product_meta { font-size: 13px; color: #6b7280; padding-top: 14px; border-top: 1px solid #e5e7eb; }
.lm-single .product_meta a { color: var(--theme-primary-color); }
.lm-single .stock { font-size: 13px; font-weight: 600; }
.lm-single .stock.in-stock { color: #16a34a; }
.lm-single .stock.out-of-stock { color: #dc2626; }

/* Related products / up-sells keep the same card frame as the shop grid. */
.related.products ul.products, .up-sells ul.products, .cross-sells ul.products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); overflow: hidden; background: #fff;
}
.related.products ul.products > li.product,
.up-sells ul.products > li.product,
.cross-sells ul.products > li.product {
	float: none !important; width: auto !important; margin: 0 !important;
	border-right: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
}
.related.products h2, .up-sells h2, .cross-sells h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.03em; margin: 40px 0 16px; }
@media (max-width: 1199px) { .related.products ul.products, .up-sells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .related.products ul.products, .up-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lm-single .product_title { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.lm-single .price { font-family: var(--theme-product-price-font); font-size: 30px; font-weight: 700; color: var(--theme-primary-active-color); }
.lm-single .price del { font-size: 18px; color: #9ca3af; font-weight: 500; margin-right: 8px; }
.lm-single .price ins { text-decoration: none; }
.lm-single form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.lm-single .single_add_to_cart_button {
	height: 48px; padding: 0 30px; border-radius: var(--theme-site-border-radius);
	background: var(--theme-primary-color); color: #fff; border: 0; cursor: pointer;
	font-size: 14px; font-weight: 700;
}
.lm-single .single_add_to_cart_button:hover { background: var(--theme-primary-active-color); }
.lm-single .lm-meta-list { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid #e5e7eb; }
.lm-single .lm-meta-list li {
	display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px;
	font-size: 13px; color: #4b5563; padding: 5px 0; align-items: start;
}
.lm-single .lm-meta-list li strong { color: #111827; font-weight: 600; }
@media (max-width: 575px) { .lm-single .lm-meta-list li { grid-template-columns: 1fr; gap: 2px; } }
.lm-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.lm-trust-row .lm-trust {
	border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius);
	padding: 12px; font-size: 12px; color: #4b5563; display: flex; gap: 10px; align-items: center;
}
.lm-trust-row .lm-trust i { color: var(--theme-primary-color); font-size: 18px; }
@media (max-width: 575px) { .lm-trust-row { grid-template-columns: 1fr; } }

.quantity { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); height: 48px; overflow: hidden; }
.quantity .quantity-button { width: 38px; height: 100%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #6b7280; user-select: none; }
.quantity .quantity-button:hover { color: var(--theme-primary-color); }
.quantity input.qty { width: 46px; height: 100%; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.woocommerce-tabs { margin-top: 44px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 -1px; }
.woocommerce-tabs ul.tabs li a {
	display: inline-block; padding: 12px 20px; font-size: 14px; font-weight: 600; color: #4b5563;
	text-decoration: none; border: 1px solid transparent; border-bottom: 0; border-radius: var(--theme-site-border-radius) var(--theme-site-border-radius) 0 0;
}
.woocommerce-tabs ul.tabs li.active a { background: #fff; border-color: #e5e7eb; color: var(--theme-primary-active-color); }
.woocommerce-tabs .woocommerce-Tabs-panel { border: 1px solid #e5e7eb; border-radius: 0 var(--theme-site-border-radius) var(--theme-site-border-radius); padding: 26px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #f8f7fc; margin-top: 50px; }
.site-footer .footer-newsletter { background: var(--theme-primary-color); color: #fff; padding: 30px 0; }
.site-footer .footer-newsletter .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .footer-newsletter .entry-title { color: #fff; margin-bottom: 4px; }
.site-footer .footer-newsletter p { color: rgba(255,255,255,.82); margin: 0; }
.site-newsletter-form form { display: flex; align-items: center; gap: 0; background: #fff; border-radius: var(--theme-site-border-radius); padding: 5px; min-width: 380px; }
.site-newsletter-form input[type=email] { border: 0; height: 40px; padding: 0 14px; flex: 1 1 auto; outline: none; font-size: 14px; }
.site-newsletter-form button { height: 40px; padding: 0 22px; border: 0; border-radius: var(--theme-site-border-radius); background: var(--theme-secondary-color); color: #3b2f00; font-weight: 700; font-size: 13px; cursor: pointer; }
@media (max-width: 575px) { .site-newsletter-form form { min-width: 0; width: 100%; } }

.site-footer .footer-widgets { padding: 46px 0 30px; }
.site-footer .footer-inner.footer-cols { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.1fr; gap: 30px; }
@media (max-width: 1199px) { .site-footer .footer-inner.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .site-footer .footer-inner.footer-cols { grid-template-columns: 1fr; } }
.site-footer .widget-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; color: #111827; }
.site-footer .menu, .site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li, .site-footer .widget ul li { padding: 4px 0; }
.site-footer a { color: #4b5563; text-decoration: none; font-size: 13px; }
.site-footer a:hover { color: var(--theme-primary-color); text-decoration: underline; }
.footer-contact ul { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.footer-contact .contact-icon {
	width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
	background: #fff; border: 1px solid #e9e6f2; color: var(--theme-primary-color);
	display: inline-flex; align-items: center; justify-content: center;
}
.footer-contact .contact-detail span { display: block; font-size: 11px; color: #9ca3af; }
.footer-contact .contact-detail p { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: #111827; }
.footer-contact .contact-detail p a { font-size: 14px; font-weight: 700; color: #111827; }
.lm-address-block { font-size: 13px; color: #4b5563; line-height: 1.6; }
.lm-address-block .lm-addr { padding: 10px 0; border-top: 1px dashed #e2dff0; }
.lm-address-block .lm-addr:first-of-type { border-top: 0; }
.lm-address-block .lm-addr-label {
	display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 3px 8px; border-radius: 20px; margin-bottom: 6px;
}
.lm-address-block .lm-addr-label.warehouse { background: #ede9fe; color: var(--theme-primary-active-color); }
.lm-address-block .lm-addr-label.current { background: #dcfce7; color: #15803d; }
.lm-address-block .lm-addr-label.former { background: #f3f4f6; color: #6b7280; }
.lm-address-block .lm-addr a { font-size: 13px; }

.site-footer .footer-copyright { border-top: 1px solid #e9e6f2; padding: 20px 0; }
.site-footer .footer-copyright .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-payment-cards ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; align-items: center; }
.site-payment-cards li {
	background: #fff; border: 1px solid #e5e7eb; border-radius: 5px;
	height: 32px; padding: 0 10px; display: inline-flex; align-items: center;
}
.site-payment-cards li svg { height: 18px; width: auto; display: block; }
.site-payment-cards .pay-label { font-size: 11px; color: #6b7280; margin-right: 4px; }
.site-social ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.site-social a {
	width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid #e9e6f2;
	display: inline-flex; align-items: center; justify-content: center; color: #4b5563;
}
.site-social a:hover { background: var(--theme-primary-color); color: #fff; border-color: var(--theme-primary-color); }

/* ==========================================================================
   Content pages
   ========================================================================== */
.lm-entry-content { font-size: 15px; line-height: 1.75; color: #374151; }
.lm-entry-content h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin: 32px 0 12px; }
.lm-entry-content h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin: 24px 0 10px; }
.lm-entry-content p { margin-bottom: 14px; }
.lm-entry-content ul, .lm-entry-content ol { margin: 0 0 16px 20px; }
.lm-entry-content li { margin-bottom: 7px; }
.lm-entry-content a { color: var(--theme-primary-color); }
.lm-entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 14px; }
.lm-entry-content table th, .lm-entry-content table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; }
.lm-entry-content table th { background: #f8f7fc; font-weight: 700; }
.lm-note {
	border-left: 3px solid var(--theme-primary-color); background: #faf9fd;
	padding: 14px 18px; border-radius: 0 var(--theme-site-border-radius) var(--theme-site-border-radius) 0; margin: 18px 0;
}
.lm-contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 991px) { .lm-contact-grid { grid-template-columns: 1fr; } }
.lm-map { width: 100%; border: 0; border-radius: var(--theme-site-border-radius); min-height: 320px; }
.lm-card { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 22px; background: #fff; margin-bottom: 18px; }

.lm-faq details { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.lm-faq summary { font-weight: 600; cursor: pointer; font-size: 15px; color: #111827; }
.lm-faq details[open] summary { color: var(--theme-primary-color); margin-bottom: 8px; }

.lm-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .lm-blog-grid { grid-template-columns: 1fr; } }
.lm-post-card { border: 1px solid #e5e7eb; border-radius: var(--theme-site-border-radius); overflow: hidden; background: #fff; }
.lm-post-card .post-thumb img { width: 100%; height: 190px; object-fit: cover; display: block; }
.lm-post-card .post-body { padding: 18px; }
.lm-post-card .post-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.lm-post-card .post-title a { color: #111827; text-decoration: none; }
.lm-post-card .post-title a:hover { color: var(--theme-primary-color); }
.lm-post-card .post-meta { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }

/* ==========================================================================
   Utility / misc
   ========================================================================== */
.btn-lm {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px; border-radius: var(--theme-site-border-radius);
	background: var(--theme-primary-color); color: #fff; font-weight: 700; font-size: 14px;
	text-decoration: none; border: 0; cursor: pointer;
}
.btn-lm:hover { background: var(--theme-primary-active-color); color: #fff; }
.btn-lm.outline { background: transparent; border: 1px solid var(--theme-primary-color); color: var(--theme-primary-color); }
.btn-lm.outline:hover { background: var(--theme-primary-color); color: #fff; }
.lm-skip-link { position: absolute; left: -9999px; }
.lm-skip-link:focus { left: 10px; top: 10px; z-index: 9999; background: #fff; padding: 10px 16px; border-radius: 6px; }
.screen-reader-text {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.lm-mobile-bar { display: none; }
@media (max-width: 991px) {
	.lm-mobile-bar {
		display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
		background: #fff; border-top: 1px solid #e5e7eb; padding: 8px 0;
	}
	.lm-mobile-bar a {
		flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
		font-size: 10px; color: #6b7280; text-decoration: none;
	}
	.lm-mobile-bar a i { font-size: 18px; }
	.lm-mobile-bar a.active { color: var(--theme-primary-color); }
	body { padding-bottom: 62px; }
}
