/* ==========================================================================
   LifeOra — storefront styles
   Tokens -> layout -> header/nav -> homepage -> product -> app UI -> shop
   ========================================================================== */

:root {
	--lo-primary: #0E7C66;
	--lo-primary-dark: #0A5F4E;
	--lo-primary-soft: #E6F2EE;
	--lo-accent: #E24C3F;
	--lo-amber: #F5A524;
	--lo-ink: #101B1E;
	--lo-ink-60: #52605F;
	--lo-ink-40: #7C8887;
	--lo-line: #E2E8E6;
	--lo-mist: #F4F7F6;
	--lo-surface: #FFFFFF;
	--lo-cat: var(--lo-primary);

	--lo-radius-sm: 8px;
	--lo-radius: 14px;
	--lo-radius-lg: 22px;
	--lo-shadow: 0 1px 2px rgba(16, 27, 30, .04), 0 12px 30px -18px rgba(16, 27, 30, .35);
	--lo-shadow-lg: 0 30px 70px -40px rgba(16, 27, 30, .55);

	--lo-shell: 1320px;
	--lo-gap: 24px;

	--lo-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--lo-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--lo-ink);
	background: var(--lo-mist);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.18; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); }

:focus-visible { outline: 2px solid var(--lo-primary); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lo-skip {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--lo-ink); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--lo-radius-sm) 0;
}
.lo-skip:focus { left: 0; }

.lo-shell { width: 100%; max-width: var(--lo-shell); margin: 0 auto; padding: 0 20px; }

/* Buttons ---------------------------------------------------------------- */

.lo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border: 1px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: .95rem; cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.lo-btn--primary { background: var(--lo-primary); color: #fff; }
.lo-btn--primary:hover { background: var(--lo-primary-dark); }
.lo-btn--dark { background: var(--lo-ink); color: #fff; }
.lo-btn--dark:hover { background: #1c2c30; }
.lo-btn--ghost { background: transparent; border-color: var(--lo-line); color: var(--lo-ink); }
.lo-btn--ghost:hover { border-color: var(--lo-ink); }
.lo-btn--quiet { background: transparent; color: var(--lo-ink-60); }
.lo-btn--quiet:hover { color: var(--lo-ink); }
.lo-btn--sm { padding: 9px 16px; font-size: .86rem; }
.lo-btn--block { width: 100%; }

/* Announcement + header -------------------------------------------------- */

.lo-announce {
	background: var(--lo-ink); color: #fff;
	font-size: .84rem; letter-spacing: .01em;
	text-align: center; padding: 9px 16px;
}
.lo-announce a { text-decoration: underline; text-underline-offset: 3px; }

.lo-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--lo-surface);
	border-bottom: 1px solid var(--lo-line);
}

.lo-header__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px;
	padding-top: 14px; padding-bottom: 14px;
}

.lo-header__burger {
	display: none; background: none; border: 0; padding: 6px; color: var(--lo-ink); cursor: pointer;
}

.lo-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; }
.lo-logo__mark {
	width: 36px; height: 36px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--lo-primary); color: #fff; font-size: 1.05rem;
}
.lo-logo--footer .lo-logo__word { color: #fff; }

.custom-logo-link img { max-height: 44px; width: auto; }

.lo-search { position: relative; display: flex; align-items: center; }
.lo-search input[type="search"] {
	width: 100%; padding: 13px 52px 13px 18px;
	border: 1px solid var(--lo-line); border-radius: 999px;
	background: var(--lo-mist); font: inherit; color: var(--lo-ink);
}
.lo-search input[type="search"]:focus { background: #fff; border-color: var(--lo-primary); outline: none; }
.lo-search button {
	position: absolute; right: 5px;
	width: 40px; height: 40px; border: 0; border-radius: 50%;
	background: var(--lo-primary); color: #fff; display: grid; place-items: center; cursor: pointer;
}

.lo-header__actions { display: flex; align-items: center; gap: 6px; }
.lo-header__action {
	display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 6px 12px; font-size: .74rem; color: var(--lo-ink-60); border-radius: var(--lo-radius-sm);
	position: relative;
}
.lo-header__action:hover { color: var(--lo-primary); background: var(--lo-primary-soft); }
.lo-header__count {
	position: absolute; top: 0; right: 6px;
	min-width: 18px; height: 18px; padding: 0 5px;
	background: var(--lo-accent); color: #fff; border-radius: 999px;
	font-size: .68rem; font-weight: 700; display: grid; place-items: center;
}
.lo-header__app {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--lo-primary-soft); color: var(--lo-primary-dark);
	border: 0; border-radius: 999px; padding: 9px 15px; font-size: .85rem; font-weight: 600; cursor: pointer;
}
.lo-header__app:hover { background: #d7e9e3; }

/* Category bar + mega menu ------------------------------------------------ */

.lo-header__nav { border-top: 1px solid var(--lo-line); background: var(--lo-surface); }
.lo-catnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lo-catnav__item { position: static; }
.lo-catnav__link {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 13px 14px; font-size: .93rem; font-weight: 600; color: var(--lo-ink);
	background: none; border: 0; cursor: pointer; position: relative;
}
.lo-catnav__link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
	background: var(--lo-cat); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.lo-catnav__item:hover .lo-catnav__link::after,
.lo-catnav__link:focus-visible::after { transform: scaleX(1); }
.lo-catnav__badge {
	background: var(--lo-accent); color: #fff; font-size: .62rem; font-weight: 700;
	padding: 2px 6px; border-radius: 999px; letter-spacing: .03em;
}

.lo-mega {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--lo-surface); border-top: 1px solid var(--lo-line);
	box-shadow: var(--lo-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 50;
}
.lo-catnav__item.has-mega:hover > .lo-mega,
.lo-catnav__item.has-mega:focus-within > .lo-mega { opacity: 1; visibility: visible; transform: translateY(0); }

.lo-mega__inner {
	max-width: var(--lo-shell); margin: 0 auto; padding: 28px 20px 32px;
	display: grid; grid-template-columns: 1.6fr .9fr 1.1fr; gap: 34px;
}
.lo-mega--list .lo-mega__inner { grid-template-columns: 1fr; }
.lo-mega__title { font-size: .76rem; font-weight: 700; color: var(--lo-ink-40); margin-bottom: 14px; }
.lo-mega__subs { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 26px; }
.lo-mega__subs li { break-inside: avoid; margin-bottom: 12px; }
.lo-mega__subs a { display: block; font-weight: 600; font-size: .95rem; }
.lo-mega__subs a:hover { color: var(--lo-cat); }
.lo-mega__subs span { display: block; font-weight: 400; font-size: .78rem; color: var(--lo-ink-40); }

.lo-mega__brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lo-mega__brands a {
	display: grid; place-items: center; height: 56px; padding: 8px;
	border: 1px solid var(--lo-line); border-radius: var(--lo-radius-sm); background: #fff;
}
.lo-mega__brands img { max-height: 36px; width: auto; object-fit: contain; }
.lo-mega__brand-text { font-size: .8rem; font-weight: 600; text-align: center; }

.lo-mega__products { display: grid; gap: 12px; }
.lo-mega__product { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.lo-mega__product img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--lo-radius-sm); }
.lo-mega__product-name { font-size: .88rem; font-weight: 600; }
.lo-mega__product-price { font-size: .84rem; color: var(--lo-primary); font-weight: 700; }

.lo-mega__more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 30px; }
.lo-mega__more-list > li > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.lo-mega__more-children { display: block; font-size: .78rem; color: var(--lo-ink-40); margin-top: 4px; }
.lo-mega__more-children a:hover { color: var(--lo-primary); }

/* Mobile drawer ----------------------------------------------------------- */

.lo-drawer { position: fixed; inset: 0; z-index: 90; }
.lo-drawer[hidden] { display: none; }
.lo-drawer__scrim { position: absolute; inset: 0; background: rgba(16, 27, 30, .45); border: 0; }
.lo-drawer__panel {
	position: relative; z-index: 1;
	width: min(420px, 92vw); height: 100%;
	background: #fff; display: flex; flex-direction: column;
	transform: translateX(-100%); transition: transform .25s ease;
}
.lo-drawer.is-open .lo-drawer__panel { transform: translateX(0); }
.lo-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--lo-line); }
.lo-drawer__title { font-weight: 700; }
.lo-drawer__close, .lo-drawer__toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--lo-ink-60); }
.lo-drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.lo-drawer__list { list-style: none; margin: 0; padding: 0; }
.lo-drawer__row { display: flex; align-items: center; justify-content: space-between; padding: 4px 20px; }
.lo-drawer__link { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-weight: 600; flex: 1; }
.lo-drawer__toggle svg { transition: transform .2s ease; }
.lo-drawer__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.lo-drawer__subs { list-style: none; margin: 0 0 8px; padding: 0 20px 8px 52px; display: grid; gap: 10px; }
.lo-drawer__subs a { color: var(--lo-ink-60); font-size: .92rem; }
.lo-drawer__foot { padding: 16px 20px 24px; border-top: 1px solid var(--lo-line); }

/* Sections ---------------------------------------------------------------- */

.lo-main { padding-bottom: 60px; }
.lo-section { padding: 34px 0; }
.lo-section--hero { padding-top: 24px; }
.lo-section--usp { padding: 10px 0 24px; }

.lo-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lo-section__title { margin: 0; }
.lo-section__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--lo-primary); }

/* Hero */
.lo-hero { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(260px, 1fr); gap: var(--lo-gap); }
.lo-hero__slider, .lo-hero__placeholder {
	position: relative; overflow: hidden;
	border-radius: var(--lo-radius-lg); background: var(--lo-surface); box-shadow: var(--lo-shadow);
	min-height: 320px;
}
.lo-hero__track { position: relative; height: 100%; }
.lo-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.lo-hero__slide.is-active { opacity: 1; position: relative; }
.lo-hero__img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.lo-hero__caption {
	position: absolute; inset: auto 0 0 0; padding: 30px 34px;
	background: linear-gradient(to top, rgba(16, 27, 30, .82), transparent);
	color: #fff;
}
.lo-hero__caption h2 { color: #fff; margin-bottom: 6px; }
.lo-hero__caption p { margin: 0 0 16px; max-width: 46ch; }
.lo-hero__dots { position: absolute; left: 34px; bottom: 18px; display: flex; gap: 8px; }
.lo-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; }
.lo-hero__dots button.is-active { width: 26px; background: #fff; }

.lo-hero__placeholder { display: flex; flex-direction: column; justify-content: center; padding: 44px; background: linear-gradient(135deg, #0E7C66 0%, #0A5F4E 100%); color: #fff; }
.lo-hero__headline { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.lo-hero__headline span { display: block; font-size: 1rem; font-weight: 500; opacity: .85; margin-top: 10px; letter-spacing: 0; }
.lo-hero__sub { opacity: .8; font-size: .9rem; }
.lo-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lo-hero__placeholder .lo-subnav__chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }

.lo-hero__side { display: grid; gap: 12px; align-content: start; }
.lo-hero__tile {
	background: var(--lo-surface); border-radius: var(--lo-radius);
	padding: 16px 18px; display: grid; grid-template-columns: 42px 1fr; gap: 4px 14px;
	box-shadow: var(--lo-shadow); border-left: 3px solid var(--lo-cat);
	transition: transform .18s ease;
}
.lo-hero__tile:hover { transform: translateX(3px); }
.lo-hero__tile-icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--lo-cat) 12%, #fff); color: var(--lo-cat); }
.lo-hero__tile-name { font-weight: 700; }
.lo-hero__tile-count { font-size: .78rem; color: var(--lo-ink-40); }

/* USP */
.lo-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lo-usp__item { display: flex; align-items: center; gap: 12px; background: var(--lo-surface); border-radius: var(--lo-radius); padding: 14px 16px; box-shadow: var(--lo-shadow); color: var(--lo-primary); }
.lo-usp__item span { display: grid; }
.lo-usp__item strong { font-size: .9rem; color: var(--lo-ink); }
.lo-usp__item em { font-size: .78rem; font-style: normal; color: var(--lo-ink-40); }

/* Category grid */
.lo-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.lo-catgrid__item {
	position: relative; background: var(--lo-surface); border-radius: var(--lo-radius);
	padding: 18px 12px; text-align: center; display: grid; gap: 10px; justify-items: center;
	box-shadow: var(--lo-shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.lo-catgrid__item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(16,27,30,.5); }
.lo-catgrid__media {
	width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
	background: color-mix(in srgb, var(--lo-cat) 12%, #fff); color: var(--lo-cat);
}
.lo-catgrid__media img { width: 100%; height: 100%; object-fit: cover; }
.lo-catgrid__name { font-weight: 600; font-size: .9rem; }
.lo-catgrid__badge { position: absolute; top: 10px; right: 10px; background: var(--lo-accent); color: #fff; font-size: .62rem; font-weight: 700; padding: 3px 7px; border-radius: 999px; }

/* Promo banners */
.lo-promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--lo-gap); }
.lo-promo__item { position: relative; border-radius: var(--lo-radius-lg); overflow: hidden; min-height: 180px; background: var(--lo-surface); box-shadow: var(--lo-shadow); }
.lo-promo__item img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.lo-promo__text { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(to top, rgba(16,27,30,.8), transparent); color: #fff; display: grid; }
.lo-promo__text strong { font-size: 1.1rem; }
.lo-promo__text em { font-style: normal; font-size: .85rem; opacity: .85; }

/* Product cards ----------------------------------------------------------- */

.lo-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 16px; }
.lo-products--scroll {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(212px, 1fr);
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
	scrollbar-width: thin;
}
.lo-products--scroll > * { scroll-snap-align: start; }

.lo-card {
	background: var(--lo-surface); border-radius: var(--lo-radius);
	overflow: hidden; display: flex; flex-direction: column;
	box-shadow: var(--lo-shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.lo-card:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -30px rgba(16,27,30,.55); }
.lo-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--lo-mist); }
.lo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lo-card__flags { position: absolute; top: 10px; left: 10px; display: grid; gap: 5px; justify-items: start; }
.lo-flag { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: #fff; letter-spacing: .02em; }
.lo-flag--sale { background: var(--lo-accent); }
.lo-flag--new { background: var(--lo-primary); }
.lo-flag--best { background: var(--lo-ink); }

.lo-card__body { padding: 14px 15px 16px; display: grid; gap: 6px; align-content: start; flex: 1; }
.lo-card__brand { font-size: .72rem; color: var(--lo-ink-40); font-weight: 600; }
.lo-card__title { font-size: .95rem; font-weight: 600; margin: 0; line-height: 1.35; }
.lo-card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lo-card__price { font-weight: 800; color: var(--lo-ink); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.lo-card__price del { color: var(--lo-ink-40); font-weight: 500; font-size: .85rem; margin-right: 6px; }
.lo-card__price ins { text-decoration: none; color: var(--lo-accent); }
.lo-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.lo-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--lo-amber); font-weight: 600; }
.lo-card__rating em { font-style: normal; color: var(--lo-ink-40); font-weight: 400; }
.lo-card__colors { display: inline-flex; align-items: center; gap: 4px; }
.lo-card__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lo-swatch); border: 1px solid rgba(16,27,30,.14); }
.lo-card__colors em { font-size: .7rem; color: var(--lo-ink-40); font-style: normal; }
.lo-card__cta {
	margin-top: 4px; text-align: center; padding: 9px 12px; border-radius: 999px;
	background: var(--lo-primary-soft); color: var(--lo-primary-dark); font-weight: 600; font-size: .85rem;
	transition: background-color .18s ease, color .18s ease;
}
.lo-card__cta:hover { background: var(--lo-primary); color: #fff; }
.lo-card__stock { font-size: .8rem; color: var(--lo-ink-40); }

/* Brands strip */
.lo-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.lo-brands__item {
	height: 86px; display: grid; place-items: center; padding: 14px;
	background: var(--lo-surface); border-radius: var(--lo-radius); box-shadow: var(--lo-shadow);
	font-weight: 700; color: var(--lo-ink-60); text-align: center; font-size: .9rem;
}
.lo-brands__item img { max-height: 52px; width: auto; object-fit: contain; }

/* App block */
.lo-section--app .lo-appblock {
	display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
	background: var(--lo-ink); color: #fff; border-radius: var(--lo-radius-lg); padding: 38px 40px;
}
.lo-appblock h2 { color: #fff; }
.lo-appblock p { color: rgba(255,255,255,.76); max-width: 54ch; }
.lo-appblock__meta { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; color: rgba(255,255,255,.78); }
.lo-appblock__meta li { display: inline-flex; align-items: center; gap: 7px; }
.lo-appblock__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lo-appblock__actions .lo-btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.lo-appblock__qr { display: grid; justify-items: center; gap: 8px; background: #fff; padding: 16px; border-radius: var(--lo-radius); }
.lo-appblock__qr span { font-size: .76rem; color: var(--lo-ink-60); font-weight: 600; }

/* App UI: modal, prompt, banners ------------------------------------------ */

.lo-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.lo-modal[hidden] { display: none; }
.lo-modal__scrim { position: absolute; inset: 0; background: rgba(16,27,30,.6); border: 0; }
.lo-modal__box {
	position: relative; z-index: 1; width: min(720px, 100%);
	background: #fff; border-radius: var(--lo-radius-lg); box-shadow: var(--lo-shadow-lg);
	padding: 34px; animation: lo-pop .22s ease;
}
@keyframes lo-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.lo-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--lo-ink-40); }
.lo-modal__grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.lo-modal__qr { padding: 12px; border: 1px solid var(--lo-line); border-radius: var(--lo-radius); background: #fff; }
.lo-modal__qr img { width: 100%; height: auto; }
.lo-modal__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: .78rem; font-weight: 700; color: var(--lo-primary); }
.lo-modal__lede { color: var(--lo-ink-60); margin-top: 0; }
.lo-modal__meta { font-size: .84rem; color: var(--lo-ink-40); font-variant-numeric: tabular-nums; }
.lo-modal__notes { margin: 8px 0 14px; font-size: .86rem; color: var(--lo-ink-60); }
.lo-modal__notes summary { cursor: pointer; font-weight: 600; color: var(--lo-ink); }
.lo-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.lo-modal__status { min-height: 20px; font-size: .84rem; color: var(--lo-primary); font-weight: 600; margin: 0; }
.lo-modal__fine { font-size: .78rem; color: var(--lo-ink-40); margin: 6px 0 0; }
.lo-modal__play { display: inline-block; margin-top: 10px; font-size: .82rem; color: var(--lo-ink-60); text-decoration: underline; text-underline-offset: 3px; }

.lo-prompt {
	position: fixed; z-index: 110; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px));
	background: #fff; border-radius: var(--lo-radius-lg); box-shadow: var(--lo-shadow-lg);
	padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px;
	transform: translateY(14px); opacity: 0; transition: opacity .28s ease, transform .28s ease;
}
.lo-prompt[hidden] { display: none; }
.lo-prompt.is-in { opacity: 1; transform: translateY(0); }
.lo-prompt__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--lo-primary-soft); color: var(--lo-primary); }
.lo-prompt__text h3 { margin: 0 0 4px; font-size: 1.02rem; }
.lo-prompt__text p { margin: 0; font-size: .87rem; color: var(--lo-ink-60); }
.lo-prompt__actions { grid-column: 2; display: flex; gap: 8px; margin-top: 12px; }

.lo-desknote {
	position: fixed; z-index: 105; left: 24px; bottom: 24px;
	display: flex; align-items: center; gap: 12px;
	background: #fff; border-radius: 999px; box-shadow: var(--lo-shadow-lg);
	padding: 10px 12px 10px 20px; font-size: .88rem; font-weight: 600;
}
.lo-desknote[hidden] { display: none; }
.lo-desknote__close { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--lo-ink-40); }

.lo-appbar {
	position: fixed; z-index: 108; left: 10px; right: 10px; bottom: 10px;
	display: grid; grid-template-columns: auto 40px 1fr auto; align-items: center; gap: 10px;
	background: #fff; border-radius: var(--lo-radius); box-shadow: var(--lo-shadow-lg);
	padding: 10px 12px;
}
.lo-appbar[hidden] { display: none; }
.lo-appbar__close { background: none; border: 0; padding: 2px; color: var(--lo-ink-40); cursor: pointer; }
.lo-appbar__logo { width: 40px; height: 40px; border-radius: 12px; background: var(--lo-primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.lo-appbar__text { display: grid; line-height: 1.25; }
.lo-appbar__text strong { font-size: .88rem; }
.lo-appbar__text em { font-style: normal; font-size: .74rem; color: var(--lo-ink-40); }

.lo-toast {
	position: fixed; z-index: 130; left: 50%; bottom: 28px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 10px;
	background: var(--lo-ink); color: #fff; border-radius: 999px; padding: 12px 20px;
	font-size: .88rem; font-weight: 600; box-shadow: var(--lo-shadow-lg);
}
.lo-toast[hidden] { display: none; }
.lo-toast__spinner {
	width: 15px; height: 15px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
	animation: lo-spin .7s linear infinite;
}
.lo-toast.is-done .lo-toast__spinner { display: none; }
@keyframes lo-spin { to { transform: rotate(360deg); } }

/* Shop, category and product pages ---------------------------------------- */

.lo-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .82rem; color: var(--lo-ink-40); padding: 18px 0 6px; }
.lo-crumbs a:hover { color: var(--lo-primary); }

.lo-shop { padding-bottom: 40px; }
.lo-shop__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.lo-shop__layout:not(:has(.lo-shop__sidebar)) { grid-template-columns: minmax(0, 1fr); }
.lo-shop__sidebar { background: var(--lo-surface); border-radius: var(--lo-radius); padding: 20px; box-shadow: var(--lo-shadow); position: sticky; top: 130px; }
.lo-widget + .lo-widget { margin-top: 24px; }
.lo-widget__title { font-size: .95rem; margin-bottom: 10px; }
.lo-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }

.lo-cathero {
	display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
	background: var(--lo-surface); border-radius: var(--lo-radius-lg); padding: 28px 30px;
	box-shadow: var(--lo-shadow); border-left: 4px solid var(--lo-cat); margin-bottom: 18px;
}
.lo-cathero__title { margin: 0; }
.lo-cathero__desc { color: var(--lo-ink-60); margin: 8px 0 0; max-width: 64ch; }
.lo-cathero__count { font-size: .84rem; color: var(--lo-ink-40); margin: 8px 0 0; }
.lo-cathero__media img { width: 180px; height: 110px; object-fit: cover; border-radius: var(--lo-radius); }

.lo-subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lo-subnav--inline { margin: -4px 0 16px; }
.lo-subnav__chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px; background: var(--lo-surface);
	border: 1px solid var(--lo-line); font-size: .85rem; font-weight: 600;
	transition: border-color .18s ease, color .18s ease;
}
.lo-subnav__chip:hover { border-color: var(--lo-cat); color: var(--lo-cat); }
.lo-subnav__chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

.woocommerce div.product { background: var(--lo-surface); border-radius: var(--lo-radius-lg); padding: 28px; box-shadow: var(--lo-shadow); }
.woocommerce div.product .product_title { font-size: 1.6rem; }
.woocommerce div.product p.price { color: var(--lo-ink); font-weight: 800; font-size: 1.6rem; }
.woocommerce div.product p.price del { color: var(--lo-ink-40); font-weight: 500; font-size: 1.05rem; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--lo-accent); }
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button { background: var(--lo-primary); color: #fff; border-radius: 999px; font-weight: 600; padding: 13px 26px; }
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover { background: var(--lo-primary-dark); }

.lo-product__brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .84rem; font-weight: 600; color: var(--lo-ink-60); }
.lo-product__brand img { width: 26px; height: 26px; object-fit: contain; }

.lo-colors { margin: 18px 0; }
.lo-colors__label { font-size: .86rem; color: var(--lo-ink-60); }
.lo-colors__swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.lo-swatch {
	width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
	background: var(--lo-swatch); border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--lo-line); position: relative;
	transition: box-shadow .16s ease, transform .16s ease;
}
.lo-swatch:hover { transform: scale(1.06); }
.lo-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--lo-primary); }
.lo-swatch.is-out { opacity: .4; cursor: not-allowed; }
.lo-swatch.is-out::after { content: ""; position: absolute; inset: 40% 10% auto; height: 2px; background: var(--lo-ink); transform: rotate(-45deg); }

.lo-assurance { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--lo-line); display: grid; gap: 10px; font-size: .87rem; color: var(--lo-ink-60); }
.lo-assurance li { display: flex; align-items: center; gap: 10px; color: var(--lo-ink-60); }
.lo-assurance svg { color: var(--lo-primary); }

.lo-specs { width: 100%; border-collapse: collapse; }
.lo-specs th, .lo-specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--lo-line); font-size: .92rem; }
.lo-specs th { width: 34%; color: var(--lo-ink-60); font-weight: 600; }

.lo-video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--lo-radius); overflow: hidden; }
.lo-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lo-video { width: 100%; border-radius: var(--lo-radius); }
.lo-product__video { margin-top: 16px; }

/* Blog, pages, empty states ----------------------------------------------- */

.lo-page, .lo-blog { padding-bottom: 50px; }
.lo-page__article { background: var(--lo-surface); border-radius: var(--lo-radius-lg); padding: 34px; box-shadow: var(--lo-shadow); }
.lo-prose { max-width: 72ch; }
.lo-prose p { margin: 0 0 1.1em; }
.lo-page__media { margin: 20px 0; border-radius: var(--lo-radius); overflow: hidden; }

.lo-blog__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.lo-postlist { display: grid; gap: 16px; }
.lo-post { display: grid; grid-template-columns: 220px 1fr; gap: 20px; background: var(--lo-surface); border-radius: var(--lo-radius); overflow: hidden; box-shadow: var(--lo-shadow); }
.lo-post__body { padding: 20px 22px 22px 0; }
.lo-post__title { font-size: 1.15rem; margin-bottom: 6px; }
.lo-post__meta { font-size: .8rem; color: var(--lo-ink-40); margin: 0 0 8px; }
.lo-post__excerpt { color: var(--lo-ink-60); margin: 0; }

.lo-empty-state { background: var(--lo-surface); border-radius: var(--lo-radius-lg); padding: 48px 40px; text-align: center; box-shadow: var(--lo-shadow); margin: 30px auto; max-width: 720px; }
.lo-empty-state p { color: var(--lo-ink-60); }
.lo-empty-state__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.lo-search--inline { max-width: 420px; margin: 20px auto 0; }

/* Footer ------------------------------------------------------------------ */

.lo-footer { background: var(--lo-ink); color: rgba(255,255,255,.78); padding-top: 48px; }
.lo-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.lo-footer h3 { color: #fff; font-size: .92rem; margin-bottom: 14px; }
.lo-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.lo-footer a:hover { color: #fff; }
.lo-footer__about { font-size: .9rem; max-width: 40ch; }
.lo-footer__support { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-top: 16px; }
.lo-footer__support strong { color: #fff; }
.lo-footer__support em { font-style: normal; color: rgba(255,255,255,.5); font-size: .8rem; }
.lo-footer__hint { font-size: .84rem; color: rgba(255,255,255,.5); }
.lo-footer__meta { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 10px; }
.lo-footer__col--app .lo-btn--dark { background: var(--lo-primary); }
.lo-footer__base { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .82rem; }
.lo-footer__base .lo-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lo-footer__base p { margin: 0; }
.lo-footer__legal { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
	.lo-mega__inner { grid-template-columns: 1.4fr 1fr; }
	.lo-mega__col--products { display: none; }
	.lo-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.lo-usp { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.lo-header__bar { grid-template-columns: auto auto 1fr auto; gap: 12px; padding-bottom: 12px; }
	.lo-header__burger { display: block; }
	.lo-header__nav { display: none; }
	.lo-search { order: 4; grid-column: 1 / -1; }
	.lo-header__action span:not(.lo-header__count) { display: none; }
	.lo-header__app span { display: none; }
	.lo-hero { grid-template-columns: 1fr; }
	.lo-hero__side { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); display: grid; }
	.lo-shop__layout, .lo-blog__layout { grid-template-columns: minmax(0, 1fr); }
	.lo-shop__sidebar { position: static; }
	.lo-appblock, .lo-section--app .lo-appblock { grid-template-columns: 1fr; text-align: left; }
	.lo-appblock__qr { justify-self: start; }
	.lo-modal__grid { grid-template-columns: 1fr; }
	.lo-modal__qr { display: none; }
	.lo-post { grid-template-columns: 1fr; }
	.lo-post__body { padding: 0 20px 22px; }
}

@media (max-width: 620px) {
	.lo-section { padding: 24px 0; }
	.lo-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.lo-products--scroll { grid-auto-columns: minmax(158px, 1fr); }
	.lo-catgrid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.lo-catgrid__media { width: 56px; height: 56px; }
	.lo-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.lo-usp { grid-template-columns: 1fr; }
	.lo-cathero { grid-template-columns: 1fr; }
	.lo-cathero__media { display: none; }
	.lo-prompt { right: 10px; left: 10px; width: auto; bottom: 74px; }
	.lo-page__article, .woocommerce div.product { padding: 20px; }
	.lo-desknote { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
