/* LOWCART-UI-V2 (2026-10-17) — functional UI fixes. */

/* --- Page h1 on cart / my-account (matches site page-title look) --- */
.lc-page-h1 {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0F172A;
	margin: 0 0 18px;
	line-height: 1.15;
}
@media (max-width: 767px) {
	.lc-page-h1 { font-size: 24px; margin-bottom: 14px; }
}

/* --- FAQ accordion --- */
.lc-faq { margin: 10px 0 26px; border-top: 1px solid #E2E8F0; }
.lc-faq-item { border-bottom: 1px solid #E2E8F0; }
.lc-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 15px 2px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	color: #0F172A;
	line-height: 1.35;
}
.lc-faq-q:hover { color: #0F172A; }
.lc-faq-qt { flex: 1; }
.lc-faq-ico {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	position: relative;
}
.lc-faq-ico::before,
.lc-faq-ico::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: #0F172A;
	transition: transform .2s ease;
}
.lc-faq-ico::before {
	width: 12px;
	height: 2px;
	transform: translate(-50%, -50%);
}
.lc-faq-ico::after {
	width: 2px;
	height: 12px;
	transform: translate(-50%, -50%);
}
.lc-faq-q[aria-expanded="true"] .lc-faq-ico::after {
	transform: translate(-50%, -50%) scaleY(0);
}
.lc-faq-a {
	display: none;
	padding: 0 2px 16px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #334155;
}
.lc-faq-a p { margin: 0 0 10px; }
.lc-faq-a p:last-child { margin-bottom: 0; }
.lc-faq-item.is-open .lc-faq-a { display: block; }

/* --- Sticky mobile add-to-cart bar --- */
.lc-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	background: #fff;
	border-top: 1px solid #E2E8F0;
	box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
	transform: translateY(110%);
	transition: transform .25s ease;
	padding: 10px 14px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.lc-sticky-atc.is-visible { transform: translateY(0); }
.lc-sticky-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 760px;
	margin: 0 auto;
}
.lc-sticky-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.lc-sticky-thumb { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; background: #F8FAFC; flex: 0 0 auto; }
.lc-sticky-meta { display: flex; flex-direction: column; min-width: 0; }
.lc-sticky-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #0F172A;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.lc-sticky-price { font-size: 13px; font-weight: 700; color: #0F172A; }
.lc-sticky-price .amount { color: inherit; font-weight: inherit; }
.lc-sticky-btn {
	flex: 0 0 auto;
	appearance: none;
	border: 0;
	cursor: pointer;
	background: #0F172A;
	color: #fff;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	padding: 11px 20px;
	border-radius: 8px;
	line-height: 1;
}
.lc-sticky-btn:hover { background: #1E293B; }
/* Desktop: never show (JS also guards, belt & suspenders) */
@media (min-width: 768px) {
	.lc-sticky-atc { display: none; }
}

/* --- Archive wishlist heart 35/36 -> 40px (must beat .product-grid-item .wd-buttons .wd-action-btn) --- */
.products .wd-wishlist-btn.wd-wishlist-icon,
.woodmart-archive-shop .wd-wishlist-btn.wd-wishlist-icon,
.product-grid-item .wd-buttons .wd-wishlist-btn.wd-wishlist-icon {
	width: 40px !important;
	height: 40px !important;
	font-size: 18px;
}
.products .wd-wishlist-btn.wd-wishlist-icon::before,
.woodmart-archive-shop .wd-wishlist-btn.wd-wishlist-icon::before,
.product-grid-item .wd-buttons .wd-wishlist-btn.wd-wishlist-icon::before {
	font-size: 18px;
	line-height: 40px;
}
