/*
 * Minimal overrides placeholder.
 * Next: catalog-mode (hide price), product grid cards, quote list styling.
 */

html {
    scroll-behavior: smooth;
}

.lm-quote__header--inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
/* Keep this file intentionally minimal for now. */

/* Quote mode: ensure price UI is not visible even if a template prints it. */
.woocommerce-Price-amount,
.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .order-total,
.woocommerce-checkout .cart-subtotal,
.woocommerce-checkout .product-total {
	display: none !important;
}

/* Landing layout */
body.home .wp-site-blocks > header,
body.home .wp-site-blocks > footer,
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part,
body.home .wp-site-blocks > .wp-block-template-part,
body.home .site-header,
body.home .site-footer {
	display: none;
}

.lm-landing {
	/* padding-bottom: clamp(2.5rem, 6vw, 4.5rem); */
	font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
	background: #fff;
}

.lm-quote {
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

.lm-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.lm-landing-nav {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #f0f0f0;
	z-index: 50;
}

.lm-landing-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 100px;
	gap: 1rem;
}

.lm-brand {
	font-weight: 800;
	font-size: 1.5rem;
	color: #f40009;
	letter-spacing: -0.03em;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.lm-logo-desktop {
	display: block;
}

.lm-logo-mobile {
	display: none;
	align-items: center;
	gap: 12px;
}

.lm-logo-mobile img {
	height: 40px; /* Adjust mobile logo size */
	width: auto;
}

/* Invert Capsa logo (White -> #575756) for visibility */
.lm-logo-mobile img[src*="logo-capsa"] {
    filter: invert(66%); 
}

.lm-logo-plus {
	font-family: 'Raleway', sans-serif;
	font-size: 2rem;
	font-weight: 400; /* Regular weight for cleaner look */
	color: #575756;
	line-height: 1;
	transform: translateY(-2px); /* Visual optical alignment */
}

@media (max-width: 768px) {
	.lm-logo-desktop {
		display: none !important;
	}
	.lm-logo-mobile {
		display: flex !important;
	}
	.lm-landing-nav__inner {
		min-height: 80px; /* Reduced specific height for mobile */
	}
}

.lm-landing-nav__links {
	display: flex;
	gap: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
}

.lm-landing-nav__links a {
	color: #111;
	text-decoration: none;
}

.lm-landing-nav__links a:hover {
	color: #f40009;
}

.lm-pill {
	background: #f40009;
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	box-shadow: 0 12px 24px rgba(244, 0, 9, 0.2);
	position: relative;
}

.lm-pill-badge {
	position: absolute;
	top: -15px;
	right: -15px;
	background: #fff;
	color: #f40009;
	border: 1px solid #f40009;
	font-weight: 900;
	font-size: 0.85rem;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	line-height: 1;
	box-shadow: 0 6px 12px rgba(0,0,0,0.12);
	display: inline-block;
	min-width: 1.8rem;
	text-align: center;
}

.lm-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
}

.lm-hero__bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 45%),
		linear-gradient(135deg, #f40009 0%, #c80006 60%, #0f0f0f 100%);
	transform: skewY(-3deg) scale(1.05);
	transform-origin: top left;
	z-index: 0;
}

.lm-hero__inner {
	position: relative;
	/* Remove lateral padding to allow edge-to-edge hero visuals; keep vertical padding */
	padding: clamp(4rem, 8vw, 7rem) 0;
	z-index: 1;
}

/* `.lm-container` adds horizontal padding site-wide. When the container is used
   as the hero inner, remove that lateral padding but keep a small amount on
   very small screens for readability. */
.lm-container.lm-hero__inner,
.lm-hero__inner.lm-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media (max-width: 900px) {
	.lm-container.lm-hero__inner,
	.lm-hero__inner.lm-container {
		/* restore modest horizontal padding on small viewports */
		padding-left: clamp(0.75rem, 4vw, 1.25rem) !important;
		padding-right: clamp(0.75rem, 4vw, 1.25rem) !important;
	}
	.lm-hero__grid {
		gap: clamp(1.25rem, 4vw, 2rem);
	}
}

.lm-hero__grid {
	display: grid;
	/* Use two equal columns so text and visual share space more evenly */
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (max-width: 900px) {
	.lm-hero__grid {
		grid-template-columns: 1fr;
	}

	.lm-landing-nav__links {
		display: none;
	}
}

.lm-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 0.4rem 1rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.lm-hero__title {
	margin: 1.5rem 0 1rem;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.lm-hero__subtitle {
	font-size: clamp(1rem, 2.3vw, 1.4rem);
	max-width: 36ch;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
}

.lm-hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.lm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.75rem;
}

.lm-button--primary {
	background: #fff;
	color: #f40009;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.lm-button--ghost {
	border: 2px solid rgba(255, 255, 255, 0.8);
	color: #fff;
	background: transparent;
}

.lm-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.lm-hero__glow {
	position: absolute;
	width: min(420px, 70vw);
	height: min(420px, 70vw);
	background: none;
	filter: blur(60px);
	border-radius: 999px;
	transform: translate(-10%, -5%);
}

.lm-hero__image {
	/* Increase visible hero image size */
	max-width: 520px;
	width: 100%;
	height: auto;
	border-radius: 24px;
	transform: rotate(2deg);
}

.lm-hero__tag {
	position: absolute;
	left: -10px;
	top: 10px;
	background: #fff;
	color: #111;
	padding: 0.75rem 1rem;
	border-radius: 16px;
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
	transform: rotate(-4deg);
}

/* At mid/large viewports (including 1280px) add modest horizontal padding to
   the hero and slightly reduce the gap between text and visual so the hero
   doesn't feel edge-to-edge or overly spaced. */
@media (min-width: 1100px) and (max-width: 1600px) {
	.lm-container.lm-hero__inner,
	.lm-hero__inner.lm-container {
		padding-left: clamp(1rem, 2.5vw, 2.5rem) !important;
		padding-right: clamp(1rem, 2.5vw, 2.5rem) !important;
	}

	.lm-hero__grid {
		gap: clamp(2rem, 3.5vw, 4rem);
	}
	/* Align the visual to the right column and limit image width for balance */
	.lm-hero__visual {
		justify-content: flex-end;
	}

	.lm-hero__image {
		max-width: 480px;
		width: 100%;
	}
	/* Nudge the hero content right to appear more centered on ~1280px */
	.lm-container.lm-hero__inner,
	.lm-hero__inner.lm-container {
		margin-left: 5rem;
	}
}

/* Hero swiper adjustments */
.lm-hero-swiper {
	width: 100%;
	max-width: 620px;
}
.lm-hero-swiper .swiper-wrapper {
	align-items: center;
}
.lm-hero-swiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.lm-hero-swiper .lm-hero__image {
	width: 80%;
    max-width: 420px;
	height: auto;
	border-radius: 24px;
}
.lm-hero-swiper .lm-hero__tag {
	left: 14px;
	top: 14px;
	transform: rotate(-4deg);
}

/* Override upstream hero image max-width to increase visible size */
.lm-hero-swiper .lm-hero__image,
.lm-hero-swiper .lm-hero__image img,
.lm-hero-swiper a .lm-hero__image,
.lm-hero-swiper a .lm-hero__image img {
	max-width: 500px !important;
}

.lm-hero-swiper {
	--swiper-navigation-color: #000000; /* arrows color (Coca-Cola black) */
	--swiper-pagination-color: #0f0f0f; /* primary pagination color */
}
.lm-hero-swiper .swiper-button-next,
.lm-hero-swiper .swiper-button-prev {
	color: #000; /* arrows black */
	opacity: 1;
}
.lm-hero-swiper .swiper-button-next::after,
.lm-hero-swiper .swiper-button-prev::after {
	color: inherit;
}
.lm-hero-swiper .swiper-pagination-bullet {
	background: rgba(15,15,15,0.35) !important;
}
.lm-hero-swiper .swiper-pagination-bullet-active {
	background: #0f0f0f !important;
}

/* Hide nav arrows on small screens to prevent overflow */
@media (max-width: 768px) {
	.lm-hero-swiper .swiper-button-next,
	.lm-hero-swiper .swiper-button-prev {
		display: none !important;
	}
}

/* Fix mobile overflow: make hero swiper fluid on small viewports */
@media (max-width: 768px) {
	.lm-hero__visual {
		overflow: hidden;
	}

	.lm-hero-swiper {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 1rem !important;
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.lm-hero-swiper .swiper-slide {
		padding: 0 !important;
	}

	.lm-hero-swiper .lm-hero__image {
		width: 90% !important;
		max-width: 100% !important;
		height: auto !important;
		object-fit: contain !important;
		display: block;
	}

	.lm-hero-swiper .lm-hero__tag {
		left: 10px !important;
		top: 10px !important;
		transform: rotate(-4deg) !important;
	}
}

.lm-hero__tag-title {
	font-size: 1.6rem;
	font-weight: 900;
	color: #f40009;
}

.lm-hero__tag-text {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6b7280;
}

/* Increase product gallery main image size by ~30% while keeping it centered
	 - Uses width:130% inside an overflow:hidden container so the visible image appears larger
	 - Mobile caps to 100% to avoid layout overflow */
.lm-gallery__main {
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Use transform scale to enlarge visually while keeping the image centered
	 This keeps the image visually centered between navigation arrows */
.lm-gallery__image {
	width: 100%;
	max-width: none;
	height: auto;
	object-fit: contain;
	display: block;
	transform-origin: center center;
	transition: transform 180ms ease;
}

@media (max-width: 900px) {
	.lm-gallery__image {
		transform: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Ensure anchor wrappers inside Swiper/hero slides center their content */
.swiper-slide a,
.swiper-wrapper a,
.lm-hero-swiper a,
.lm-gallery__main a {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
}

/* Force scale on the actual main image element (data-lm-main) to override other max-width rules */
.lm-gallery__main img[data-lm-main],
.lm-gallery__main [data-lm-main],
.lm-gallery__main .lm-gallery__image {
	max-width: none !important;
	width: auto !important;
	display: block !important;
	margin: 0 auto !important;
	transform-origin: center center !important;
}

@media (max-width: 900px) {
	.lm-gallery__main img[data-lm-main],
	.lm-gallery__main [data-lm-main],
	.lm-gallery__main .lm-gallery__image {
		transform: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Override upstream max-width (420px) on the main image anchor — increase to 500px */
.lm-gallery__main a img[data-lm-main],
.lm-gallery__main img[data-lm-main],
.lm-gallery__main a img {
	max-width: 500px !important;
	width: auto !important;
}

@media (max-width: 900px) {
	.lm-gallery__main a img[data-lm-main],
	.lm-gallery__main img[data-lm-main],
	.lm-gallery__main a img {
		max-width: 100% !important;
		width: 100% !important;
		transform: none !important;
	}
}


/* Cart: center remove icon + text */
.woocommerce table.cart .product-remove,
.woocommerce .woocommerce-cart-form .product-remove {
	display: flex;
	align-items: center;
	justify-content: center;
}
.woocommerce table.cart .product-remove a,
.woocommerce .woocommerce-cart-form .product-remove a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.35rem;
	line-height: 1;
	height: auto;
}
.woocommerce table.cart .product-remove a svg,
.woocommerce table.cart .product-remove a i {
	vertical-align: middle;
	display: inline-block;
}
/* Remove accidental line-breaks inside remove link (some themes inject <br>) */
.woocommerce table.cart .product-remove a br {
	display: none !important;
}
.woocommerce table.cart .product-remove a {
	white-space: nowrap;
}

.lm-products {
	background: #fff;
	padding: clamp(3rem, 7vw, 5rem) 0;
}

.lm-products__inner {
	padding-top: 0;
}

.lm-section-head {
	text-align: center;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.lm-section-kicker {
	display: inline-block;
	color: #f40009;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem;
	margin-bottom: 0.5rem;
}

.lm-section-title {
	margin: 0.5rem 0 1rem;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 900;
	color: #111;
}

.lm-section-divider {
	width: 90px;
	height: 6px;
	margin: 0 auto;
	border-radius: 999px;
	background: #f40009;
}

.lm-promo {
	padding: 0 0 clamp(3rem, 7vw, 5rem);
	background: #fff;
}

.lm-promo__card {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	min-height: 320px;
	background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.lm-promo__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.lm-promo__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.lm-promo__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lm-promo__badge {
	position: absolute;
	left: 32px;
	top: 24px;
	background: #f40009;
	color: #fff;
	font-weight: 800;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	z-index: 1;
}

.lm-promo__content {
	position: relative;
	max-width: 560px;
	padding: 3.5rem 3rem;
	color: #fff;
	z-index: 1;
}

@media (max-width: 1200px) {
	.lm-promo__badge {
		position: relative;
		left: auto;
		top: auto;
		display: inline-block;
		margin: 2rem 0 0.5rem 2rem;
	}
	.lm-promo__content {
		padding-top: 0.5rem;
	}
}

.lm-promo__content h3 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 900;
	margin: 0 0 1rem;
}

.lm-promo__content p {
	margin: 0 0 2rem;
	color: rgba(255, 255, 255, 0.85);
}

.lm-promo__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.lm-promo__content {
		padding: 2.5rem 2rem;
	}
}

.lm-footer {
	background: #0f0f0f;
	color: #f9fafb;
	padding: clamp(3rem, 8vw, 5rem) 0 0;
}

.lm-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 2fr;
	gap: clamp(2rem, 6vw, 4rem);
}

@media (max-width: 900px) {
	.lm-footer__inner {
		grid-template-columns: 1fr;
	}
}

.lm-footer__logo {
	font-weight: 800;
	font-size: 1.4rem;
	color: #f40009;
}

.lm-footer__brand p {
	margin: 1rem 0 1.5rem;
	color: #d1d5db;
	max-width: 40ch;
}

.lm-footer__social {
	display: flex;
	gap: 0.75rem;
}

.lm-footer__social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1f2937;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 700;
}

.lm-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

@media (max-width: 900px) {
	.lm-footer__cols {
		grid-template-columns: 1fr;
	}
}

.lm-footer__cols h4 {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.lm-footer__cols a {
	display: block;
	color: #d1d5db;
	text-decoration: none;
	margin-bottom: 0.6rem;
}

.lm-footer__cols a:hover {
	color: #fff;
}

.lm-footer__form {
	display: grid;
	gap: 0.75rem;
}

.lm-footer__form input {
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	border: 1px solid #374151;
	background: #111827;
	color: #fff;
}

.lm-footer__form button {
	background: #f40009;
	color: #fff;
	border: none;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.lm-footer__bottom {
	border-top: 1px solid #1f2937;
	margin-top: 3rem;
	padding: 1.2rem 0;
	color: #9ca3af;
	font-size: 0.85rem;
}

.lm-footer__bottom .lm-container {
	padding-bottom: 1.2rem;
}

/* Product grid + card */
.lm-products-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	.lm-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lm-products-grid {
		grid-template-columns: 1fr;
	}
}

.lm-product-card {
	border: 1px solid #f1f1f1;
	background: #fff;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 18px 30px rgba(17, 17, 17, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.lm-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 40px rgba(17, 17, 17, 0.12);
}

.lm-product-card__media {
	display: block;
	background: transparent; /* keep media background transparent */
	border-bottom: 1px solid #f1f1f1; /* subtle separator between image and body */
	aspect-ratio: 4 / 5;
	position: relative;
	overflow: hidden;
	flex: 0 0 auto;
}

.lm-product-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
	background: #fff;
    padding: 1rem; /* Add some breathing room so "contain" doesn't touch edges if it's full width */
    box-sizing: border-box;
}

.lm-product-card__body {
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	flex: 1 1 auto;
}

.lm-product-card__sku {
	font-size: var(--wp--preset--font-size--small, 0.9rem);
	opacity: 0.8;
}

.lm-product-card__title {
	color: inherit;
	text-decoration: none;
	font-weight: 700;
	line-height: 1.2;
}

.lm-product-card__bullets {
	margin: 0;
	padding-left: 1.25rem;
	font-size: var(--wp--preset--font-size--small, 0.9rem);
	list-style-type: disc !important;
	list-style-position: outside !important;
}

/* Ensure visible bullets: use native marker and style it */
.lm-product-card__bullets {

/* Ensure a visible custom bullet on single-product cards (fallback for environments
   where native markers are removed or not rendered). Very high specificity + !important */
body.single-product .lm-product-card__bullets li,
body.post-type-product .lm-product-card__bullets li,
.woocommerce.single-product .lm-product-card__bullets li {
	position: relative !important;
	padding-left: 1.6rem !important;
	display: block !important;
}
body.single-product .lm-product-card__bullets li::before,
body.post-type-product .lm-product-card__bullets li::before,
.woocommerce.single-product .lm-product-card__bullets li::before {
	/* Use a hyphen instead of a bullet */
	content: '-' !important;
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	color: #111 !important;
	font-size: 0.95rem !important;
	line-height: 1 !important;
	transform: translateY(0.05rem) !important;
}

/* Remove native markers and ensure spacing for the hyphen */
.lm-product-card__bullets {
	padding-left: 1.35rem !important;
}
.lm-product-card__bullets li {
	list-style: circle !important;
	position: relative !important;
	padding-left: 1.1rem !important;
}

/* Strong override for WooCommerce core rule that sets `list-style: none` on product lists.
   This targets the product list item that contains our `lm-product-card__bullets` and forces
   native markers or the hyphen fallback to appear. */
.woocommerce .products ul.products li .lm-product-card__bullets,
.woocommerce .products li.product .lm-product-card__bullets,
.woocommerce ul.products li .lm-product-card__bullets {
	list-style-type: disc !important;
	list-style-position: outside !important;
	padding-left: 1.35rem !important;
}
.woocommerce .products ul.products li .lm-product-card__bullets li,
.woocommerce .products li.product .lm-product-card__bullets li,
.woocommerce ul.products li .lm-product-card__bullets li {
	display: list-item !important;
	list-style: circle !important;
}
.woocommerce .products ul.products li .lm-product-card__bullets li::marker,
.woocommerce .products li.product .lm-product-card__bullets li::marker,
.woocommerce ul.products li .lm-product-card__bullets li::marker {
	color: #111 !important;
	font-size: 0.95rem !important;
	opacity: 1 !important;
}
	padding-left: 1.35rem !important;
	list-style-type: disc !important;
	list-style-position: outside !important;
}
.lm-product-card__bullets li::marker {
	color: #111111 !important; /* force dark marker */
	font-size: 0.95rem;
	opacity: 1 !important;
}

/* Ensure each bullet is a separate line and numeric values are emphasized */
.lm-product-card__bullets li {
	margin-bottom: 0.4rem;
	line-height: 1.25;
	display: list-item !important;
}
.lm-product-card__bullets,
.lm-product-card__bullets li {
	color: #111 !important;
}
.lm-product-card__bullets li strong {
	font-weight: 700;
	display: inline !important; /* prevent wrapping to its own line */
	margin-left: 0.35rem;
}

/* Ensure front-page bullet styles also apply on single product and related areas */
.lm-product-page .products .lm-product-card__bullets,
.single-product .products .lm-product-card__bullets,
.lm-related .related.products .lm-product-card__bullets,
.related.products ul.products .lm-product-card__bullets {
	list-style-type: disc !important;
	list-style-position: outside !important;
	padding-left: 1.35rem !important;
}
.lm-product-page .products .lm-product-card__bullets li::marker,
.single-product .products .lm-product-card__bullets li::marker,
.lm-related .related.products .lm-product-card__bullets li::marker {
	color: #111111 !important;
	opacity: 1 !important;
}

/* High-specificity overrides for environments that strip list markers */
body.single-product .lm-product-card__bullets,
body.post-type-product .lm-product-card__bullets,
.woocommerce.single-product .lm-product-card__bullets {
	list-style-type: disc !important;
	list-style-position: outside !important;
	padding-left: 1.5rem !important;
}
body.single-product .lm-product-card__bullets li,
body.post-type-product .lm-product-card__bullets li,
.woocommerce.single-product .lm-product-card__bullets li {
	display: list-item !important;
	list-style: circle !important;
}
body.single-product .lm-product-card__bullets li::marker,
body.post-type-product .lm-product-card__bullets li::marker,
.woocommerce.single-product .lm-product-card__bullets li::marker {
	color: #111 !important;
	font-size: 0.95rem !important;
	opacity: 1 !important;
}

/* Remove any global pseudo-elements that may be injected into lists */
.lm-product-card__bullets::before,
.lm-product-card__bullets::after,
.lm-product-card__bullets li::before,
.lm-product-card__bullets li::after {
	content: none !important;
	display: none !important;
}

/* Final safety: ensure bullets are visible using native markers */
.lm-product-card__bullets {
	list-style-type: disc !important;
	list-style-position: outside !important;
	padding-left: 1.5rem !important;
}
.lm-product-card__bullets li {
	display: list-item !important;
	list-style: circle !important;
}

.lm-product-card__actions .button,
.lm-product-card__actions a.button {
	/* center the action button inside the card and keep consistent sizing */
	display: block;
	margin: 0 auto;
	min-width: 140px;
	max-width: 220px;
	width: auto;
	text-align: center;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.7rem 0.9rem;
	font-size: 0.7rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Micro-interaction: gentle opacity + press translation for LM buttons
   Matches the visual weight of the "Añadir a mi cotización" button. */
.lm-pill,
.lm-button,
.lm-product-card__actions .button,
.lm-product-card__actions a.button,
.button,
a.button,
button,
input[type="submit"] {
	transition: opacity 120ms ease, transform 120ms ease, box-shadow 120ms ease;
	will-change: opacity, transform;
}

.lm-pill:active,
.lm-button:active,
.lm-product-card__actions .button:active,
.lm-product-card__actions a.button:active,
.button:active,
a.button:active,
button:active,
input[type="submit"]:active {
	opacity: 0.92;
	transform: translateY(1px);
}

/* Hover micro-interaction: slight lift and subtle opacity increase */
.lm-pill:hover,
.lm-button:hover,
.lm-product-card__actions .button:hover,
.lm-product-card__actions a.button:hover,
.button:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* Ensure action area sticks to bottom of card body */
.lm-product-card__actions {
	margin-top: auto;
}

/* Make product list items stretch to the grid cell height so cards align */
.lm-related .related.products > ul.products > li.product,
.lm-related .related.products ul.products li.product {
	display: block;
	align-self: stretch;
}

/* Single product layout */
.lm-product-page {
	background: #fff;
}

.lm-product-page .woocommerce-product-gallery {
	opacity: 1 !important;
}

.lm-product-page .woocommerce-product-gallery__trigger {
	display: none;
}

.lm-breadcrumbs {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem) 0;
}

.lm-breadcrumbs .woocommerce-breadcrumb {
	color: #9ca3af;
	font-size: 0.9rem;
}

.lm-breadcrumbs .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.lm-breadcrumbs .woocommerce-breadcrumb a:hover {
	color: #6b7280;
}

.lm-breadcrumbs .woocommerce-breadcrumb .breadcrumb-separator,
.lm-breadcrumbs .woocommerce-breadcrumb .delimiter {
	opacity: 0.6;
}

.lm-product {
	max-width: 1280px;
	margin: 0 auto;
	padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem) 4.5rem;
}

.lm-product__grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: start;
}

@media (max-width: 900px) {
	.lm-product__grid {
		grid-template-columns: 1fr;
	}
}

.lm-product__media {
	padding: 0;
	border: none;
	background: transparent;
}

.lm-product__media-inner {
	position: relative;
}

.lm-badge {
	position: absolute;
	left: 1.25rem;
	top: 1.25rem;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.7rem;
}

.lm-badge--primary {
	background: #f40009;
	color: #fff;
}

.lm-gallery {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 1rem;
	align-items: start;
}

.lm-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.lm-thumb {
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 6px;
	background: #fff;
	cursor: pointer;
	transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.lm-thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.lm-thumb[aria-current='true'] {
	border-color: #f40009;
	box-shadow: 0 0 0 3px rgba(244, 0, 9, 0.15);
}

.lm-gallery__main {
	position: relative;
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 44px rgba(17, 17, 17, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	border: 1px solid #eceff1;
}

.lm-gallery__main .lm-badge {
	position: absolute;
	left: 1.25rem;
	top: 1.25rem;
}

.lm-gallery__image {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	max-height: 680px;
	border-radius: 16px;
	max-width: 100%;
	transform: none; /* prevent large zoom/cropping on product page */
	transform-origin: center center;
}

.lm-product__media .woocommerce-product-gallery {
	display: flex;
	flex-direction: row-reverse;
	gap: 1rem;
}

.lm-product__media .woocommerce-product-gallery__wrapper {
	flex: 1;
	 margin: 0;
	 border-radius: 24px;
	 overflow: hidden;
	 background: #f5f6f7;
	 padding: 0.75rem;
	 box-shadow: 0 24px 44px rgba(17, 17, 17, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lm-product__media .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* If any theme/plugin still outputs Woo tabs, hide them (we render our own sections). */
.lm-product-page .woocommerce-tabs {
	display: none;
}

.lm-product__media .flex-control-nav.flex-control-thumbs {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 88px;
	flex: 0 0 88px;
}

@media (max-width: 900px) {
	.lm-gallery {
		grid-template-columns: 1fr;
	}

	.lm-gallery__thumbs {
		flex-direction: row;
		order: 2;
		justify-content: center;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 0.5rem;
	}

	.lm-product__media .woocommerce-product-gallery {
		flex-direction: column;
	}

	.lm-product__media .flex-control-nav.flex-control-thumbs {
		flex-direction: row;
		width: 100%;
		flex: 1;
		overflow-x: auto;
		padding-bottom: 0.25rem;
	}
}

.lm-product__media .flex-control-thumbs li {
	margin: 0;
	flex: 0 0 auto;
}

.lm-product__media .flex-control-thumbs img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	opacity: 0.9;
	transition: border-color 120ms ease, opacity 120ms ease, transform 120ms ease;
}

.lm-product__media .flex-control-thumbs img:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.lm-product__media .flex-control-thumbs img.flex-active {
	border: 2px solid #f40009;
	opacity: 1;
}

.lm-product__summary {
	border: none;
	padding: 0;
	background: transparent;
}

.lm-product__sku {
	font-size: 0.9rem;
	color: #9ca3af;
	margin-bottom: 0.75rem;
}

.lm-product__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.lm-product__rating {
	margin: 0 0 1.25rem;
}

.lm-product__rating .star-rating {
	color: #f40009;
}

.lm-product__rating .woocommerce-review-link {
	color: #6b7280;
	text-decoration: none;
	font-size: 0.85rem;
}

.lm-product__rating .woocommerce-review-link:hover {
	color: #111;
}

.lm-product__shortdesc {
	margin-bottom: 1.75rem;
	color: #6b7280;
	line-height: 1.7;
}

.lm-product__form .button,
.lm-product__form a.button,
.lm-product__form button,
.lm-product__form input[type=submit] {
	border-radius: 12px;
}

.lm-product__form {
	border-top: none;
	padding-top: 0;
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}

.lm-product__simple-attr {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	width: 100%;
	color: #111827;
	margin-bottom: 1rem;
}

.lm-product__simple-attr-label {
	font-size: 0.95rem; /* match .lm-product__stock font-size */
	font-weight: 800;
	color: #111827;
}

.lm-product__simple-attr-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #6b7280;
}

.lm-product__stock {
	width: 100%;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	color: #374151;
	font-weight: 600;
}

.lm-product__stock-label {
	font-weight: 800;
	color: #111827;
	margin-right: 0.35rem;
}

.lm-product__stock-value {
	color: #6b7280;
}

.lm-product__form form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: stretch;
	justify-content: flex-start;
	margin: 0;
	padding: 0;
}

/* Ensure our injected stock/min-qty rows take full width so they stack, but let qty+btn sit side-by-side */
.lm-product__simple-attr {
	width: 100%;
	flex-basis: 100%; 
    margin-bottom: 0.5rem;
}

/* For simple products, .quantity and .single_add_to_cart_button are direct children of form.cart */
.lm-product__form form.cart .quantity {
    width: 132px;
	min-width: 132px;
    margin-right: 0;
}

.lm-product__form form.cart .single_add_to_cart_button {
    flex: 1; 
    height: 48px; /* Matches .lm-qty height */
    padding-top: 0 !important; /* Override wp-element-button */
    padding-bottom: 0 !important; /* Override wp-element-button */
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product form.cart {
	margin-bottom: 0;
}

/* Variable products wrap qty+button inside .woocommerce-variation-add-to-cart (.variations_button) */
.lm-product__form form.cart .woocommerce-variation-add-to-cart,
.lm-product__form form.cart .variations_button {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: stretch;
	width: 100%;
}

.lm-product__form form.cart .woocommerce-variation-add-to-cart .quantity,
.lm-product__form form.cart .variations_button .quantity {
	width: 132px;
	min-width: 132px;
}

.lm-product__form form.cart .variations {
	width: 100%;
}

/* Variations: stack label and options like the reference template */
.lm-product__form form.cart table.variations,
.lm-product__form form.cart table.variations tbody,
.lm-product__form form.cart table.variations tr,
.lm-product__form form.cart table.variations th,
.lm-product__form form.cart table.variations td {
	display: block;
	width: 100%;
}

.lm-product__form form.cart table.variations th {
	padding: 0;
	margin: 0 0 0.2rem;
}

.lm-product__form form.cart table.variations td {
	padding: 0;
}

.lm-product__form form.cart .single_variation_wrap {
	width: 100%;
}

.lm-product__form form.cart .woocommerce-variation {
	margin: 0;
}

.lm-product__form form.cart .variations th,
.lm-product__form form.cart .variations td {
	padding: 0.35rem 0;
}

.lm-product__form .variations select {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: 0.8rem 1rem;
}

.lm-product__form .variations label {
	font-weight: 800;
}

.lm-product__form .lm-variation-select--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lm-product__form .lm-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.lm-product__form .lm-variation-pill {
	appearance: none;
	border: 1px solid #e5e7eb;
	background: #fff;
	border-radius: 10px;
	padding: 0.75rem 1.1rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	color: #111;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
	flex: 0 0 auto;
	min-width: 92px;
	text-align: center;
}

/* Hide the WooCommerce "Clear" reset link entirely (prevents the Clear text appearing) */
.woocommerce a.reset_variations {
	display: none !important;
}

/* Tighten spacing between label and variation pills to remove blank gap */
.lm-product__form form.cart table.variations td {
	padding: 0 !important;
}
.lm-product__form form.cart table.variations th.label {
	margin-bottom: 0 !important;
}
.lm-product__form .lm-variation-pills {
	margin-top: 0 !important;
}

/* Ensure hidden native select doesn't create layout gaps */
.lm-product__form .lm-variation-select--hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	border: 0 !important;
}

.lm-product__form .lm-variation-pill:hover {
	border-color: #f40009;
}

.lm-product__form .lm-variation-pill.is-active {
	border-color: #f40009;
	box-shadow: 0 0 0 1px #f40009;
}

.lm-product__form a.reset_variations {
	font-size: 0.85rem;
	color: #6b7280;
}

.lm-product__form a.reset_variations:hover {
	color: #111;
}

.lm-product__form .quantity {
	width: 132px;
	min-width: 132px;
	margin: 0;
	margin-left: 0;
}

.lm-product__form button.single_add_to_cart_button {
	margin: 0;
	margin-left: 0;
}

.lm-product__form .lm-qty,
.lm-quote-item .lm-qty {
	display: flex;
	align-items: stretch;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	height: 48px;
}

.lm-product__form .lm-qty input.qty,
.lm-quote-item .lm-qty input.qty {
	width: 44px;
	flex: 1;
	text-align: center;
	border: none;
	background: transparent;
	font-weight: 700;
	appearance: textfield;
}

.lm-product__form .lm-qty input.qty::-webkit-outer-spin-button,
.lm-product__form .lm-qty input.qty::-webkit-inner-spin-button,
.lm-quote-item .lm-qty input.qty::-webkit-outer-spin-button,
.lm-quote-item .lm-qty input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.lm-qty__btn {
	width: 44px;
	border: none;
	background: transparent;
	color: #6b7280;
	font-weight: 900;
	font-size: 18px;
	cursor: pointer;
}

.lm-qty__btn:hover {
	background: #f3f4f6;
	color: #111;
}

.lm-product__form button.single_add_to_cart_button {
	flex: 1;
	min-height: 48px;
	background: #f40009;
	color: #fff;
	border: 1px solid transparent;
	border-radius: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	box-shadow: 0 18px 28px rgba(244, 0, 9, 0.22);
}

.lm-product__form button.single_add_to_cart_button:hover {
	background: #d70007;
}

.lm-product__form button.single_add_to_cart_button:disabled,
.lm-product__form button.single_add_to_cart_button.disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.lm-product__form .variations {
	margin-bottom: 1.25rem;
}

.lm-product__hint {
	margin-top: 0.9rem;
	font-size: 0.9rem;
	color: #6b7280;
}

.lm-product__section-title {
	margin: 4rem 0 1.25rem;
	font-size: 1.6rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.lm-specs {
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 2rem;
	border-radius: 16px;
}

.lm-specs__table {
	width: 100%;
	border-collapse: collapse;
}

.lm-specs__table th,
.lm-specs__table td {
	border-bottom: 1px solid #eef2f7;
	padding: .75rem 0;
	vertical-align: top;
	text-align: left;
}

.lm-specs__table th {
	width: 35%;
	font-weight: 700;
}

.lm-product__content {
	border: none;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.lm-product__perks {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (max-width: 640px) {
	.lm-product__perks {
		grid-template-columns: 1fr;
	}
}

.lm-perk {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.lm-perk__icon {
	width: 22px;
	height: 22px;
	color: #f40009;
	flex: 0 0 22px;
	margin-top: 0.15rem;
}

.lm-perk__title {
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.15rem;
}

.lm-perk__desc {
	font-size: 0.85rem;
	color: #6b7280;
}

.lm-related {
	margin-top: 5rem;
	padding-top: 4rem;
	border-top: 1px solid #e5e7eb;
}

.lm-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.lm-related__title {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.lm-related__link {
	color: #f40009;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.9rem;
}

.lm-related__link:hover {
	color: #d70007;
}

.lm-related .related.products > h2 {
	display: none;
}

/* Related products: maximum 3 columns, evenly spaced. Falls to 2/1 responsively. */
.lm-related .related.products {
	margin: 0;
}
.lm-related .related.products ul.products,
.lm-related .related.products > ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Neutralize any pseudo-elements that might create an empty grid cell (::before / ::after)
   and ensure dense packing so items don't leave gaps. */
.lm-related .related.products ul.products::before,
.lm-related .related.products ul.products::after,
.lm-related .related.products ul.products li.product::before,
.lm-related .related.products ul.products li.product::after {
	content: none !important;
	display: none !important;
}

.lm-related .related.products ul.products {
	grid-auto-flow: row dense !important;
	align-items: start;
}

/* Hide any "View cart" / "Ver carrito" buttons that WooCommerce may inject in notices */
.woocommerce .woocommerce-message a.wc-forward,
.woocommerce .woocommerce-message a.button.wc-forward,
.wc-block-components-notice-banner a[href*="/cart"],
.woocommerce-notices-wrapper a[href*="/cart"] {
	display: none !important;
}

/* Global hide for any 'added_to_cart' anchors inserted by WooCommerce JS */
a.added_to_cart,
a.added_to_cart.wc-forward,
.lm-product-card__actions a.added_to_cart,
.lm-product-card__actions a.added_to_cart.wc-forward,
a.wc-forward {
	display: none !important;
}
.lm-related .related.products ul.products li.product,
.lm-related .related.products > ul.products > li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

@media (max-width: 1100px) {
	.lm-related .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lm-related .related.products ul.products {
		grid-template-columns: 1fr;
	}
}

/* Quote Cart Layout */
.lm-quote {
	max-width: var(--wp--style--global--content-size, 1200px);
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

.lm-quote__header {
	margin-bottom: 2rem;
}

.lm-quote__title {
	margin: 0;
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

/* Cart: Single column layout */
.lm-cart-grid {
	display: block;
}

/* Item List */
.lm-quote__table {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.lm-quote-item {
	display: flex;
	gap: 1.5rem;
	background: #fff;
	/* Removed border to match "clean" look, or light border if desired */
	border-bottom: 1px solid #f3f4f6;
	padding-bottom: 1.5rem;
}

.lm-quote-item:last-child {
	border-bottom: none;
}

.lm-quote-item__media {
	width: 100px;
	flex: 0 0 100px;
}

.lm-quote-item__media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	background: #f9fafb;
	aspect-ratio: 1;
	object-fit: contain;
	padding: 0.5rem;
}

.lm-quote-item__main {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.lm-quote-item__info {
	flex: 1;
}

.lm-quote-item__name {
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: 0.25rem;
	line-height: 1.3;
}

.lm-quote-item__name a {
	color: inherit;
	text-decoration: none;
}

.lm-quote-item__name a:hover {
	color: #f40009;
}

.lm-quote-item__sku {
	font-size: 0.8rem;
	color: #9ca3af;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lm-quote-item__meta {
	font-size: 0.85rem;
	color: #6b7280;
	margin-bottom: 0.5rem;
}

.lm-quote-item__meta dt {
	float: left;
	margin-right: 0.25rem;
	font-weight: 700;
}

.lm-quote-item__meta dd {
	margin: 0;
	font-weight: 500;
}

.lm-quote-item__remove {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	color: #9ca3af;
	text-decoration: none;
	margin-top: 0.5rem;
	font-weight: 600;
	transition: color 0.2s;
}

.lm-quote-item__remove:hover {
	color: #ef4444;
}

.lm-quote-item__qty {
	/* Use existing stepper styles, just ensure width */
	width: 132px;
	flex: 0 0 132px;
}

@media (max-width: 600px) {
	.lm-quote-item {
		flex-direction: column;
	}
	
	.lm-quote-item__main {
		flex-direction: column;
		align-items: flex-start;
	}

	.lm-quote-item__qty {
		width: 100%;
	}
}


/* Sidebar / Summary */

.lm-cart-footer-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 2rem;
	width: 100%;
}

@media (max-width: 640px) {
	.lm-cart-footer-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

.lm-continue-shopping {
	display: inline-block;
	color: #f40009;
	font-weight: 700;
	text-decoration: none;
	font-size: 0.9rem;
}

.lm-continue-shopping:hover {
	text-decoration: underline;
}

/* Checkout Layout */
.lm-checkout {
	max-width: 100%;
	margin: 0 auto;
	padding: 3rem clamp(1.5rem, 4vw, 4rem);
}

.lm-checkout-page-wrapper .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
}

.lm-cart-page-wrapper .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
}

.lm-checkout-container {
	width: 100%;
	max-width: 100%;
}

.lm-checkout-grid {
	display: grid;
	width: 100%;
	grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
	justify-content: space-between;
}

.lm-checkout-main {
	min-width: 0;
}

@media (max-width: 900px) {
	.lm-checkout-grid {
		grid-template-columns: 1fr;
	}
}

.lm-checkout__header {
	margin-bottom: 2rem;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 1.25rem;
}

.lm-checkout__title {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
}

.lm-checkout-login-prompt {
	font-size: 0.9rem;
	color: #6b7280;
}

.lm-checkout-section {
	margin-bottom: 2rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 1.75rem;
}

.lm-checkout-section-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 1.25rem;
	color: #111;
}

/* Form Styles */
.woocommerce-input-wrapper {
	width: 100%;
}

.woocommerce-form-row {
	margin-bottom: 1rem;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.woocommerce-form-row label .optional {
	display: none;
}

.woocommerce-checkout .optional {
	display: none !important;
}

.woocommerce-form-row .input-text,
.woocommerce-form-row select,
.woocommerce-form-row textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.9rem 1.1rem;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 1rem;
	background: #fff;
	transition: all 0.2s;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
	width: calc(50% - 0.75rem);
	float: left;
}

.woocommerce-checkout .form-row-last {
	float: right;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
	clear: none;
}

.woocommerce-checkout .form-row::after {
	content: '';
	display: block;
	clear: both;
}

.woocommerce-form-row .input-text:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    border-color: #f40009;
    box-shadow: 0 0 0 3px rgba(244, 0, 9, 0.1);
    outline: none;
}

/* Sidebar / Review Order */
.lm-checkout-sidebar {
	/* Sticky removed as requested */
	align-self: start;
}

.lm-checkout-summary-card {
    background: #000;
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lm-checkout-summary-card::-webkit-scrollbar {
    width: 6px;
}
.lm-checkout-summary-card::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.lm-checkout-summary-card::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 3px;
}
.lm-checkout-summary-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.4);
}

.lm-checkout-summary-card .lm-summary-title {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
	font-size: 24px; /* Ajuste solicitado: 24px para 'Resumen de la Cotización' */
}

/* Override Woo Review Table */
.woocommerce-checkout-review-order-table {
    border: none;
    margin-bottom: 1.5rem;
    color: #fff;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none;
    padding: 0.75rem 0;
}

.woocommerce-checkout-review-order-table thead {
    display: none; /* Hide standard headers */
}

/* Product Row in Summary */
.woocommerce-checkout-review-order-table .cart_item td {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    padding-right: 1rem;
	font-size: 16px;
}

.woocommerce-checkout-review-order-table .product-quantity {
    opacity: 0.7;
    font-weight: 400;
}

/* Order Totals */
.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 400;
    opacity: 0.7;
    text-align: left;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #fff; /* Ensure white text */
}

.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .shipping {
    display: none; /* Hide intermediate totals as requested "without prices" if customized via php, but css hiding is safer first step */
}

/* Place Order Button */
#place_order {
    width: 100%;
    background: #f40009;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

#place_order:hover {
    background: #d70007;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #fff;
    text-decoration: underline;
}

.payment_methods {
    display: none !important; /* Hide payment options as requested "no payments" */
}

/* Order received (Thank you) */
.lm-thankyou {
	max-width: 1100px;
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem);
}

.lm-thankyou__card {
	background: #fff;
	border-radius: 28px;
	padding: clamp(2rem, 4vw, 3rem);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
	border: 1px solid #f1f5f9;
}

.lm-thankyou__header {
	text-align: center;
	margin-bottom: 2rem;
}

.lm-thankyou__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(244, 0, 9, 0.12);
	color: #f40009;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.7rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}

.lm-thankyou__title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 0.75rem;
}

.lm-thankyou__subtitle {
	color: #475569;
	margin: 0;
}

.lm-thankyou__summary {
	background: #f8fafc;
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	border: 1px solid #e2e8f0;
}

.lm-thankyou__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0;
	color: #1e293b;
	font-weight: 600;
}

.lm-thankyou__row span {
	color: #64748b;
	font-weight: 600;
}

.lm-thankyou__items h2 {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.lm-thankyou__table {
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
}

.lm-thankyou__item {
	display: flex;
	justify-content: space-between;
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid #e2e8f0;
}

.lm-thankyou__item:last-child {
	border-bottom: none;
}

.lm-thankyou__item-name {
	font-weight: 700;
	color: #0f172a;
	width: 100%;
}

.lm-thankyou__item-qty {
	font-weight: 700;
	color: #64748b;
	width: 100%;
	text-align: end;
}

.lm-thankyou__note {
	margin-top: 1.75rem;
	padding: 1.25rem 1.5rem;
	border-radius: 16px;
	background: #fff7f7;
	border: 1px solid rgba(244, 0, 9, 0.15);
}

.lm-thankyou__note h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 800;
}

.lm-thankyou__actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}

.lm-thankyou__actions .lm-button--ghost {
	border: 2px solid #f40009;
	color: #f40009;
	background: transparent;
}

/* Custom add-to-cart notice (replaces default WooCommerce notice) */
.lm-addtocart-notice {
	margin: 12px 0 0;
}
.lm-addtocart-notice__inner {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #fff;
	border: 1px solid #f1f1f1;
	padding: 0.6rem 0.85rem;
	border-radius: 10px;
	color: #0f172a;
	box-shadow: 0 6px 18px rgba(15,17,42,0.04);
	font-weight: 700;
}
.lm-addtocart-notice__icon {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	background: #f40009;
	color: #fff;
	font-size: 14px;
}
.lm-addtocart-notice__text {
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

/* Toast wrapper and animation */
.lm-toast-root {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 99999;
	pointer-events: none;
}
.lm-toast {
	pointer-events: auto;
	transform: translateY(8px) scale(.98);
	opacity: 0;
	transition: transform .28s cubic-bezier(.2,.9,.25,1), opacity .28s ease;
}
.lm-toast.is-visible {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.lm-toast .lm-addtocart-notice__inner {
	box-shadow: 0 12px 36px rgba(15,17,42,0.08);
}

@media (max-width: 768px) {
	.lm-toast-root {
		left: 50%;
		right: auto;
		bottom: 16px;
		transform: translateX(-50%);
	}
}

.lm-toast--error .lm-addtocart-notice__inner {
	border: 1px solid #fee2e2;
	background: #fef2f2;
}
.lm-toast--error .lm-addtocart-notice__icon {
	background: #dc2626;
}
.lm-toast--error .lm-addtocart-notice__text {
	color: #991b1b;
}

/* Removal / Warning Toast Styles */
.lm-toast--info .lm-addtocart-notice__inner {
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}
.lm-toast--info .lm-addtocart-notice__icon {
	background: #64748b;
}
.lm-toast--info .lm-addtocart-notice__text {
	color: #334155;
}

.lm-toast--success .lm-addtocart-notice__inner {
	border: 1px solid #dcfce7;
	background: #f0fff4;
}
.lm-toast--success .lm-addtocart-notice__icon {
	background: #16a34a; /* green */
}
.lm-toast--success .lm-addtocart-notice__text {
	color: #14532d;
}

/* If a block-banner wrapper contains our LM inline notice, hide the banner container.
	 Use :has() where available; provide a defensive rule to hide the inner block-content as fallback. */
/* Hide the whole banner when it contains our lm-addtocart-notice */
@supports(selector(:has(*))) {
	.woocommerce-notices-wrapper:has(.lm-addtocart-notice),
	.wc-block-components-notice-banner:has(.lm-addtocart-notice) {
		display: none !important;
	}
}

/* Fallback: hide the block content area and any inner notice node so the green banner visually disappears. */
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
	background: transparent !important;
	border: 0 !important;
}

/* Payment Section Override */
#payment.woocommerce-checkout-payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

#payment.woocommerce-checkout-payment ul.payment_methods {
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
}

#payment.woocommerce-checkout-payment .place-order {
    padding: 0 !important;
    margin-top: 1rem !important;
}

/* =========================================
   DEFINITIVE FOOTER STYLES
   ========================================= */
.lm-footer-definitive {
    background-color: #231f20; /* Dark background */
    color: #fff;
    padding: 4rem 0 2rem;
    font-family: 'Raleway', sans-serif;
}

/* Make footer layout resilient across templates (fixes layout shifts outside landing) */
body:not(.home) .lm-footer-definitive {
	box-sizing: border-box;
	width: 100%;
	left: 0;
}

body:not(.home) .lm-footer-definitive .lm-container {
	box-sizing: border-box;
	max-width: 1280px;
	padding-left: clamp(1.25rem, 3vw, 2.5rem);
	padding-right: clamp(1.25rem, 3vw, 2.5rem);
}

.lm-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed from center */
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.lm-footer-left-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Prevent footer columns from growing past container and allow proper shrinking */
.lm-footer-left-col {
	flex: 1 1 0;
	min-width: 0;
}

.lm-footer-brand img.lm-footer-logo-desktop {
	height: 75px;
    width: auto;
    display: block;
}

.lm-footer-logo-mobile {
    display: none;
    align-items: center;
    gap: 10px;
}
.lm-footer-logo-mobile img {
    height: 40px;
    width: auto;
}
/* Ensure white/light logos for dark footer in mobile */
.lm-footer-logo-mobile img[src*="logo-capsa"] {
    filter: brightness(0) invert(1); /* Force white */
}
.lm-footer-logo-mobile .plus {
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.lm-footer-partners {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Ensure partner images can't overflow columns and preserve aspect ratio */
.lm-footer-partners,
.lm-footer-partners img,
.lm-footer-cola {
	box-sizing: border-box;
}
.lm-footer-partners img,
.lm-footer-cola {
	max-width: 140px;
	max-height: 175px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* Brand logo should size per its own rules (no 140px cap) */
.lm-footer-brand img.lm-footer-logo-desktop {
	max-width: none;
	max-height: none;
	width: auto;
}

.lm-footer-separator {
	width: 1px;
	align-self: center;

	height: 175px;
}

.lm-footer-partners img {
	max-width: 140px;
	height: auto;
	display: block;
}

.lm-footer-promo-text {
    font-weight: 300; /* Raleway */
    /* text-transform: uppercase; Removed as requested */
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: right;
    line-height: 1.2;
}
/* Break lines in text if needed using <br> or max-width */

.lm-footer-separator {
    display: block;
    width: 1px;
    height: 175px; /* Matches logo height */
    background-color: #fff;
    opacity: 0.5;
}

.lm-footer-cola {
    height: 175px;
    width: auto;
}

/* Nav Links */
.lm-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lm-footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    width: fit-content;
}

.lm-footer-link:hover {
    color: #f40009; /* Red hover */
}

.lm-footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 0 0 2rem 0;
}

.lm-footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.lm-footer-copyright p {
    margin: 0;
}

/* Responsive */
@media (max-width: 1023px) {
    /* Ensure Brand Container is visible */
    .lm-footer-brand {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Force Desktop Logo Visibility on Mobile */
    .lm-footer-brand img.lm-footer-logo-desktop,
    img.lm-footer-logo-desktop {
        display: inline-block !important;
        max-width: 80vw;
        width: auto !important;
        height: auto !important;
        max-height: 100px; /* Limit height so it doesn't blow up */
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hide previously used mobile combo elements if any remain */
    .lm-footer-logo-mobile {
        display: none !important;
    }

    .lm-footer-top {
        flex-direction: column;
        align-items: center; 
        gap: 0; /* Let children handle spacing */
    }

	/* Ensure partners don't overflow on narrow screens (non-landing only) */
	body:not(.home) .lm-footer-partners {
		width: 100%;
		justify-content: center;
		gap: 1rem;
		padding-top: 1rem;
	}
	body:not(.home) .lm-footer-partners img {
		max-height: 92px;
		width: auto;
	}
    
    .lm-footer-left-col {
        width: 100%;
        align-items: center;
        order: 1; /* Brand first */
    }

    .lm-footer-partners {
        width: 100%;
        justify-content: center;
        flex-direction: row; 
        order: 2; /* Partners second */
        margin-top: 2rem;
    }
    
    .lm-footer-cola,
    .lm-footer-separator {
        height: 125px !important;
    }

    .lm-footer-nav {
        margin-top: 2rem;
        align-items: center;
        order: 3; /* Nav third (or group with brand in col 1??) */
    }
    
    /* Re-ordering logic:
       The HTML structure is: 
       footer-top -> [ left-col (Brand, Nav) ] , [ partners ]
       
       So left-col is item 1, partners is item 2.
       Inside left-col: Brand is item 1, Nav is item 2.
       
       Standard Flow (Column):
       1. Left Col
          1. Brand (Logo)
          2. Nav (Links)
       2. Partners (Cola)
       
       Order displayed: Logo -> Nav -> Cola.
       
       User said: "deberia estar encima de logo coca cola". 
       Logo IS above Cola (separated by Nav).
       
       User said: "logo lmp... no tiene boton al lado". In column they are stacked.
       
       Maybe user wants: Logo -> Cola -> Nav?
       That would require pulling Nav out or using display contents?
       
       "y debe quedar centrado ... cuando esten en vertical"
    */
    
    .lm-footer-promo-text {
        text-align: right; 
    }
}

/* Protective rules for medium+ viewports to prevent partner logos overflowing */
@media (min-width: 1024px) {
	.lm-footer-definitive {
		overflow-x: hidden; /* avoid accidental horizontal scroll from tall/wide children */
	}

	.lm-footer-top {
		align-items: center; /* keep columns aligned on baseline */
		box-sizing: border-box;
		width: 100%;
	}

	.lm-footer-left-col {
		flex: 1 1 0;
		min-width: 0;
	}

	.lm-footer-partners {
		flex-shrink: 1;
		gap: 1rem;
		justify-content: flex-end;
	}

	/* Cap partner/cola image sizes so they can't push layout (brand excluded) */
	.lm-footer-partners img,
	.lm-footer-cola {
		max-width: 140px;
		max-height: 120px;
		width: auto;
		height: auto;
		object-fit: contain;
		display: block;
	}

	/* Ensure brand logo uses the header's 75px height */
	.lm-footer-brand img.lm-footer-logo-desktop {
		height: 75px;
		max-height: 75px;
		width: auto;
	}

	/* make the separator modest so it doesn't create a tall column */
	.lm-footer-separator {
		max-height: 120px;
		height: 120px; /* explicit height so separator is visible in flex layout */
		min-height: 48px;
		display: block;
		align-self: center;
		background-color: rgba(255,255,255,0.5);
	}
}

/* Stronger override to ensure the vertical separator is visible and doesn't collapse */
.lm-footer-separator {
	display: block !important;
	width: 1px !important;
	flex: 0 0 1px !important;
	min-height: 48px !important;
	height: 175px !important;
	margin: 0 1rem !important;
	background: rgba(255,255,255,0.9) !important;
	align-self: center !important;
	z-index: 2 !important;
}

@media (max-width: 1023px) {
	/* On narrow screens keep the separator proportionate */
	.lm-footer-separator {
		height: 125px !important;
		margin: 0 0.75rem !important;
	}
}

/* Cart page: make the "Solicitar cotización" button red with white text */
body.woocommerce-cart .lm-button.lm-button--primary,
body.page-template-cart .lm-button.lm-button--primary {
	background: #f40009 !important;
	color: #fff !important;
	border-color: transparent !important;
	box-shadow: 0 12px 24px rgba(244,0,9,0.18) !important;
}
body.woocommerce-cart .lm-button.lm-button--primary:hover,
body.page-template-cart .lm-button.lm-button--primary:hover {
	background: #d70007 !important;
	color: #fff !important;
}

/* Hide default WC notices as we use Toasts */
.woocommerce-error, 
.woocommerce-message, 
.woocommerce-info,
.wc-block-components-notice-banner {
    display: none !important;
}

/* Ensure our Toasts are visible */
.lm-toast-root {
    display: block !important;
}

.lm-toast {
    display: flex !important;
}

/* Responsive hero padding + pack-shot sizing
   - Add horizontal padding under 1440px for better breathing room
   - Set target sizes for the pack-shot image per breakpoint and
	 fall back to fluid behavior on smaller viewports */
@media (max-width: 1439px) {
	.lm-container.lm-hero__inner,
	.lm-hero__inner.lm-container {
		padding-left: clamp(1rem, 3vw, 2rem) !important;
		padding-right: clamp(1rem, 3vw, 2rem) !important;
	}
}

.lm-packshot-image {
	width: 100%;
	height: auto;
	max-width: 750px; /* default cap for very large viewports */
	display: block;
	margin: 0 auto;
}

/* Targeted caps for the requested resolutions */
@media (min-width: 1920px) {
	.lm-packshot-image { max-width: 750px; }
}

@media (min-width: 1440px) and (max-width: 1919px) {
	.lm-packshot-image { max-width: 600px; }
}

@media (min-width: 1280px) and (max-width: 1439px) {
	.lm-packshot-image { max-width: 500px; }
}

/* On smaller screens allow the image to be fluid and respect container padding */
@media (max-width: 1279px) {
	.lm-packshot-image { max-width: 100%; }
	.lm-hero__visual { padding-left: 0; padding-right: 0; }
}

/* Responsive hero title sizing to prevent it occupying >50% of hero at ~1024px */
.lm-hero__title {
	/* sensible default is already set via clamp; keep explicit fallback */
	font-size: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 1440px) {
	.lm-hero__title {
		font-size: clamp(2.1rem, 4.4vw, 3.1rem);
	}
}

@media (max-width: 1280px) {
	.lm-hero__title {
		font-size: clamp(1.9rem, 4vw, 2.6rem);
	}
}

@media (max-width: 1024px) {
	.lm-hero__title {
		/* Make title compact on tablet and small laptops */
		font-size: clamp(1.6rem, 3.8vw, 2.2rem);
		line-height: 1.08;
	}
}

@media (max-width: 900px) {
	.lm-hero__title {
		font-size: clamp(1.4rem, 6.5vw, 1.9rem);
		line-height: 1.05;
	}
}

/* Force title to wrap into three lines on small viewports */
@media (max-width: 768px) {
	.lm-hero__title {
		/* compact typography on small devices */
		font-size: clamp(1.05rem, 5.2vw, 1.6rem) !important;
		line-height: 1.05 !important;
		max-width: 20ch; /* approx. 3 lines for this title */
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
		margin-bottom: 0.6rem !important;
	}

	/* Ensure hero copy doesn't push the image into awkward positions */
	.lm-hero__grid {
		gap: clamp(1rem, 4vw, 2rem) !important;
	}
}

/* Prevent internal wrapping inside each explicit title line so we always have 3 lines */
.lm-hero__title-line {
	display: block;
	white-space: nowrap; /* keep words of each line together */
	overflow: visible;
}

/* Limit visual/pack-shot width to prevent it from squeezing the copy at medium widths */
.lm-hero__visual {
	max-width: 750px;
}

@media (min-width: 1920px) {
	.lm-hero__visual { max-width: 750px; }
	.lm-hero__grid { grid-template-columns: 1fr 750px; }
	.lm-packshot-image { width: 750px; max-width: 750px; }
}

@media (min-width: 1440px) and (max-width: 1919px) {
	.lm-hero__visual { max-width: 600px; }
}

@media (min-width: 1280px) and (max-width: 1439px) {
	.lm-hero__visual { max-width: 500px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.lm-hero__visual { max-width: 420px; }
}

@media (max-width: 1023px) {
	.lm-hero__visual { max-width: 100%; }
}
