/*
 * LadyCentre: main stylesheet
 *
 * Contents
 *   1. Design tokens (colours, type, spacing, shape)
 *   2. Fonts
 *   3. Base styles
 *   4. Layout helpers
 *   5. Top strip
 *   6. Header
 *   7. Phone menu
 *   8. Product grid and product tile
 *   9. Homepage sections (category tiles, flash sale, trust strip)
 *  10. Product page
 *  11. Footer
 *  12. Elevated look: depth and movement (banner, promo cards, hover lifts)
 *  13. Buying feedback and the glass look (bag panel, sticky bar, photo morph)
 *  14. Bag, checkout and account pages
 *  15. Performance (font choice for the language switch)
 *  16. Banner: floating arch (phone layout and slow movement)
 *  17. Flash sale: brand blue card
 *  18. The shop's wordmark (logo image in header and footer)
 *  19. Sinhala pages (line spacing, heading weight, fitting long words)
 *  20. Sideways rows without a scroll bar
 *
 * More components (product tile, flash sale and so on) are added below
 * these sections in later stages.
 *
 * Source of truth for every value here: docs/design-system.md
 */


/* ==========================================================================
   1. Design tokens
   Change a value here and it changes everywhere it is used.
   ========================================================================== */

:root {
	/* --- Colours ---------------------------------------------------------- */
	--lc-ink: #101828;          /* Body text, headings, footer background */
	--lc-blue: #1B3FA0;         /* Brand: top strip, links, buttons, regular prices */
	--lc-blue-dark: #122B73;    /* Link and button hover */
	--lc-pale-blue: #EEF2FB;    /* Category tiles, search field, trust strip, selected size */
	--lc-muted: #5B6472;        /* Secondary text, old prices */
	--lc-line: #DDE3EE;         /* Borders and dividers */
	--lc-white: #FFFFFF;        /* Page and card background */
	--lc-footer-text: #C9D1E0;  /* Secondary text on the Ink footer */

	/* Sale colours. Use these only inside sale areas. */
	--lc-sale-black: #0B0B0C;   /* Flash sale band, discount badge */
	--lc-sale-yellow: #FFD21F;  /* Flash sale title, countdown boxes (black text on it) */
	--lc-sale-red: #B3261E;     /* Sale prices, the "Sale" menu link */
	--lc-sale-grey: #D0D0D0;    /* "Ends in" and countdown labels on the black band */

	/* --- Type ------------------------------------------------------------- */
	/* Body, prices, buttons: DM Sans for English letters and numbers.
	   Sinhala letters are not in DM Sans, so the browser falls through to
	   Yaldevi for them automatically. */
	--lc-font: 'DM Sans', 'Yaldevi', 'Noto Sans Sinhala', system-ui, sans-serif;
	/* Headings and logo: Montserrat SemiBold for English, Yaldevi for Sinhala. */
	--lc-font-head: 'Montserrat', 'Yaldevi', 'Noto Sans Sinhala', system-ui, sans-serif;

	--lc-weight-regular: 400;
	--lc-weight-medium: 500;
	--lc-weight-semibold: 600;
	--lc-weight-bold: 700;

	/* Sizes that are the same on phone and desktop. */
	--lc-text-body: 14px;
	--lc-text-small: 13px;
	--lc-text-category-label: 12px;
	--lc-text-tile-name: 14px;
	--lc-text-tile-price: 16px;
	--lc-text-tile-old-price: 13px;
	--lc-text-product-price: 26px;
	--lc-text-product-old-price: 16px;

	/* Sizes that grow on desktop (see the media query below). */
	--lc-text-logo: 24px;
	--lc-text-section-heading: 18px;
	--lc-text-product-title: 22px;
	--lc-text-flash-title: 26px;
	--lc-text-department-tab: 15px;

	/* --- Spacing ---------------------------------------------------------- */
	--lc-page-padding: 16px;      /* Space at the left and right of the page */
	--lc-content-width: 1240px;   /* Widest the content ever gets */
	--lc-grid-gap: 12px;          /* Gap between product tiles */
	--lc-section-padding: 22px;   /* Space above and below each section */

	/* --- Shape ------------------------------------------------------------ */
	--lc-radius: 6px;             /* Tiles, images, inputs, buttons */
	--lc-radius-badge: 3px;       /* Discount badges */
	--lc-radius-countdown: 4px;   /* Countdown boxes */
	--lc-border: 1px solid var(--lc-line);

	/* --- Depth -------------------------------------------------------------
	   Soft shadows and larger corners that lift cards off the page. The
	   shadows are tinted with Ink, so they sit naturally on the blue-white
	   palette instead of looking grey. */
	--lc-radius-card: 14px;       /* Hero, promo cards, feature band */
	--lc-radius-tile: 10px;       /* Product tiles */
	--lc-shadow-rest: 0 1px 2px rgb(16 24 40 / 0.05), 0 3px 10px rgb(16 24 40 / 0.05);
	--lc-shadow-lift: 0 14px 28px -10px rgb(16 24 40 / 0.22), 0 4px 10px rgb(16 24 40 / 0.06);
	--lc-shadow-blue: 0 8px 18px -6px rgb(27 63 160 / 0.45); /* Under the main blue button */

	/* Warm tint that pairs with Pale blue in the hero and promo cards. */
	--lc-blush: #FBEAE4;
	--lc-sale-tint: #FFF3BF;      /* Soft Sale yellow, for the sale promo card only */

	/* One easing curve for all movement: quick to start, gentle to settle. */
	--lc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--lc-tap-size: 44px;          /* Smallest height for anything tappable */
	--lc-button-height: 52px;     /* "Add to bag" button */
}

/*
 * Desktop values. 900px is the width where the layout switches from the
 * phone design to the desktop design. (CSS does not allow a token inside a
 * media query, so the number is written out wherever it is needed.)
 */
@media (min-width: 900px) {
	:root {
		--lc-text-logo: 28px;
		--lc-text-section-heading: 22px;
		--lc-text-product-title: 30px;
		--lc-text-flash-title: 44px;
		--lc-text-department-tab: 16px;

		--lc-page-padding: 24px;
		--lc-grid-gap: 16px;
		--lc-section-padding: 32px;
	}
}


/* ==========================================================================
   2. Fonts
   Three families, all hosted inside the theme (assets/fonts):
     - DM Sans: English body text, prices and buttons (weights 400 to 700).
     - Montserrat SemiBold: English headings and the logo (weight 600 only).
     - Yaldevi: all Sinhala text, plus a fallback for anything else.
   "unicode-range" tells the browser which letters live in which file, so a
   file is only downloaded when a page actually uses its letters (for
   example, the Sinhala file only loads on pages with Sinhala text).
   ========================================================================== */

/* DM Sans: Latin extended (accented letters that are rarely needed) */
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans: Latin (English letters, numbers and punctuation) */
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/dm-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Montserrat SemiBold: Latin. Only the 600 weight is loaded, so a heading
   asked for at 700 uses this same SemiBold face. */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/montserrat-600-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sinhala */
@font-face {
	font-family: 'Yaldevi';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap; /* Show fallback text at once, swap in Yaldevi when ready. */
	src: url('../fonts/yaldevi-sinhala.woff2') format('woff2');
	unicode-range: U+0964-0965, U+0D81-0DF4, U+1CF2, U+200C-200D, U+25CC, U+111E1-111F4;
}

/* Latin extended (accented letters that are rarely needed) */
@font-face {
	font-family: 'Yaldevi';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/yaldevi-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Latin (English letters, numbers and punctuation) */
@font-face {
	font-family: 'Yaldevi';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/yaldevi-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   3. Base styles
   ========================================================================== */

/* Make width and height include padding and border, which is easier to reason about. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	/* Stop phones from enlarging text by themselves when rotated. */
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--lc-white);
	color: var(--lc-ink);
	font-family: var(--lc-font);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-regular);
	line-height: 1.5;

	/* Stack the page top to bottom and make it at least as tall as the
	   screen, so the footer sits at the bottom even on a short page. */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Sinhala letters are taller than Latin ones, so give lines more room. */
:lang(si) {
	line-height: 1.7;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-weight: var(--lc-weight-bold);
	line-height: 1.2;
}

/* Heading font (Montserrat SemiBold for English, Yaldevi for Sinhala) for
   every heading, title and logo. One list here keeps it in one place. */
h1,
h2,
h3,
h4,
.lc-logo,
.lc-footer__logo,
.lc-drawer__title,
.woocommerce-products-header__title,
.lc-band__title,
.lc-filter__title,
.lc-section__title,
.lc-flash__title,
.lc-trust__title,
.lc-info__title,
.lc-hero__title,
.lc-promo__title,
.lc-footer__heading {
	font-family: var(--lc-font-head);
}

h1 {
	font-size: var(--lc-text-product-title);
}

h2 {
	font-size: var(--lc-text-section-heading);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--lc-blue);
}

a:hover {
	color: var(--lc-blue-dark);
}

/* A clear outline for people moving around with the keyboard. */
:focus-visible {
	outline: 2px solid var(--lc-blue);
	outline-offset: 2px;
}

/* Images never spill out of their container and keep their shape. */
img {
	max-width: 100%;
	height: auto;
}

/* Form controls use the page font instead of the browser's default. */
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}


/* ==========================================================================
   4. Layout helpers
   ========================================================================== */

/* Centres content, caps its width and adds the side padding. */
.lc-container {
	width: 100%;
	max-width: var(--lc-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--lc-page-padding);
	padding-right: var(--lc-page-padding);
}

/* Main content area of a page. */
.lc-main {
	padding-top: var(--lc-section-padding);
	padding-bottom: var(--lc-section-padding);
}

/* Hidden visually but still read out by screen readers. */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* "Skip to content" link: off screen until it receives keyboard focus. */
.lc-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 16px;
	background: var(--lc-white);
	color: var(--lc-blue);
	font-weight: var(--lc-weight-bold);
}

.lc-skip-link:focus {
	left: 0;
}

/* Lists used for navigation have no bullets or indent. */
.lc-departments__list,
.lc-catnav__list,
.lc-drawer__list,
.lc-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Icons never shrink when space is tight. */
.lc-icon {
	flex: none;
}

/* A square button or link that holds just an icon (menu, search, bag, close). */
.lc-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--lc-tap-size);
	height: var(--lc-tap-size);
	padding: 0;
	border: 0;
	border-radius: var(--lc-radius);
	background: transparent;
	color: var(--lc-ink);
	cursor: pointer;
}

.lc-icon-btn:hover {
	color: var(--lc-blue-dark);
}


/* ==========================================================================
   5. Top strip
   Blue strip above the header: message on the left, language on the right.
   ========================================================================== */

.lc-topstrip {
	background: var(--lc-blue);
	color: var(--lc-white);
	font-size: var(--lc-text-small);
}

.lc-topstrip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
}

/*
 * The rotating messages. All of them sit in the same spot (one grid cell);
 * only the active one is visible. The next one rises in from below while the
 * old one drifts up and fades. Long text is cut with "…" rather than
 * pushing the language switch off a small phone.
 */
.lc-topstrip__messages {
	display: grid;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.lc-topstrip__message {
	grid-area: 1 / 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	opacity: 0;
	transform: translateY(70%);
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lc-topstrip__message.is-active {
	opacity: 1;
	transform: none;
}

.lc-topstrip__message.is-leaving {
	opacity: 0;
	transform: translateY(-70%);
}

@media (prefers-reduced-motion: reduce) {
	/* Messages still change, but simply swap with no movement. */
	.lc-topstrip__message,
	.lc-topstrip__message.is-leaving {
		transform: none;
		transition: none;
	}
}

.lc-lang {
	flex: none;
	display: flex;
	align-items: center;
	gap: 14px;
}

.lc-lang__item {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--lc-white);
	text-decoration: none;
}

a.lc-lang__item:hover {
	color: var(--lc-white);
	text-decoration: underline;
}

/* The language being viewed. */
.lc-lang__item.is-current {
	font-weight: var(--lc-weight-bold);
	text-decoration: underline;
}


/* ==========================================================================
   6. Header
   Phone layout first; the desktop layout is in the media query at the end
   of this section.
   ========================================================================== */

.lc-header {
	border-bottom: var(--lc-border);
	background: var(--lc-white);
}

/* On phones the header runs edge to edge, so the tabs can fill the width. */
.lc-header__inner {
	padding-left: 0;
	padding-right: 0;
}

/* Row 1: menu button, logo, then search and bag pushed to the right. */
.lc-header__bar {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 6px;
}

.lc-header__actions {
	display: flex;
	margin-left: auto;
}

/* --- Logo ----------------------------------------------------------------- */

.lc-logo {
	color: var(--lc-ink);
	font-size: var(--lc-text-logo);
	font-weight: var(--lc-weight-bold);
	letter-spacing: -0.5px;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.lc-logo:hover {
	color: var(--lc-ink);
}

.lc-logo__accent {
	color: var(--lc-blue);
}

/* An uploaded image logo fits the same space as the text logo. */
.lc-logo--image img {
	display: block;
	width: auto;
	max-height: 40px;
}

/* --- Bag count -------------------------------------------------------------
   Small Blue number on the bag icon. Only printed when the bag has items. */

.lc-bag__count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--lc-blue);
	color: var(--lc-white);
	font-size: 11px;
	font-weight: var(--lc-weight-bold);
	line-height: 18px;
	text-align: center;
}

/* --- Department tabs (phone) ---------------------------------------------- */

.lc-departments {
	border-top: var(--lc-border);
}

/* No tabs on product, bag, checkout and account pages. */
.lc-header--no-tabs .lc-departments {
	display: none;
}

.lc-departments__list {
	display: flex;
}

/* Three equal tabs. */
.lc-departments__list li {
	flex: 1;
}

.lc-departments__link {
	display: block;
	padding: 12px 4px;
	border-bottom: 3px solid transparent; /* Reserves the space, so the active tab does not jump. */
	color: var(--lc-ink);
	font-size: var(--lc-text-department-tab);
	font-weight: var(--lc-weight-medium);
	text-align: center;
	text-decoration: none;
}

.lc-departments__link.is-active {
	border-bottom-color: var(--lc-blue);
	color: var(--lc-blue);
	font-weight: var(--lc-weight-bold);
}

/* --- Search ----------------------------------------------------------------
   Hidden on phones until the search button is tapped ("is-open"), or, if the
   script did not load, until the button's link jumps to it (":target"). */

.lc-search {
	display: none;
	padding: 8px var(--lc-page-padding) 12px;
	border-top: var(--lc-border);
}

.lc-search.is-open,
.lc-search:target {
	display: block;
}

/* The Pale blue box holding the icon and the text field. */
.lc-search__field {
	display: flex;
	align-items: center;
	gap: 8px;
	height: var(--lc-tap-size);
	padding: 0 12px;
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
	color: var(--lc-muted);
}

/* The box shows the focus outline, because the field inside it has no edges. */
.lc-search__field:focus-within {
	outline: 2px solid var(--lc-blue);
	outline-offset: 2px;
}

.lc-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--lc-ink);
	/* 16px on phones: iPhones zoom the whole page in when a field's text is smaller. */
	font-size: 16px;
}

.lc-search__input::placeholder {
	color: var(--lc-muted);
	opacity: 1;
}

/* Remove the browser's own "x" so the field stays flat. */
.lc-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

/* --- Category row: desktop only -------------------------------------------- */

.lc-catnav {
	display: none;
}

/* --- Desktop header --------------------------------------------------------- */

@media (min-width: 900px) {
	/*
	 * One row: logo, departments, search, bag. The category row sits below.
	 * "display: contents" on the bar lets the logo and the bag take part in
	 * this grid directly, as if the bar's box were not there.
	 */
	.lc-header__inner {
		display: grid;
		grid-template-columns: auto auto 1fr auto;
		align-items: center;
		column-gap: 28px;
		padding: 14px var(--lc-page-padding) 0;
	}

	.lc-header__bar {
		display: contents;
	}

	/* The menu and search buttons are for phones. */
	.lc-header__menu-btn,
	.lc-header__search-btn {
		display: none;
	}

	.lc-logo {
		order: 1;
	}

	.lc-departments,
	.lc-header--no-tabs .lc-departments {
		display: block;
		order: 2;
		border-top: 0;
	}

	.lc-search {
		display: block;
		order: 3;
		padding: 0;
		border-top: 0;
	}

	.lc-header__actions {
		order: 4;
		margin-left: 0;
	}

	.lc-catnav {
		display: block;
		order: 5;
		grid-column: 1 / -1;
		padding: 14px 0 12px;
	}

	/* Departments become plain links instead of tabs. */
	.lc-departments__list {
		gap: 20px;
	}

	.lc-departments__list li {
		flex: none;
	}

	.lc-departments__link {
		padding: 10px 0;
		border-bottom: 0;
	}

	.lc-departments__link:hover {
		color: var(--lc-blue);
	}

	.lc-search__input {
		font-size: var(--lc-text-body);
	}

	.lc-catnav__list {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 22px;
	}

	.lc-catnav__link {
		color: var(--lc-ink);
		font-size: var(--lc-text-body);
		text-decoration: none;
		white-space: nowrap;
	}

	.lc-catnav__link:hover,
	.lc-catnav__link[aria-current="page"] {
		color: var(--lc-blue);
	}

	.lc-catnav__link--sale,
	.lc-catnav__link--sale:hover {
		color: var(--lc-sale-red);
		font-weight: var(--lc-weight-bold);
	}

	.lc-catnav__link--sale:hover {
		text-decoration: underline;
	}
}


/* ==========================================================================
   7. Phone menu
   A white panel on the left with the page dimmed behind it. Flat: lines
   between rows, no shadow.
   ========================================================================== */

.lc-drawer {
	width: min(86vw, 360px);
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--lc-white);
	color: var(--lc-ink);
}

/* The dimmed page behind the panel: Ink at half strength. */
.lc-drawer::backdrop {
	background: rgb(16 24 40 / 0.5);
}

/* Stop the page behind from scrolling while the menu is open. */
html:has(.lc-drawer[open]) {
	overflow: hidden;
}

/* Fills the dialog, so a tap that lands on the dialog itself must be outside the panel. */
.lc-drawer__panel {
	min-height: 100%;
	padding-bottom: 24px;
}

.lc-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 6px 6px var(--lc-page-padding);
	border-bottom: var(--lc-border);
}

.lc-drawer__title {
	margin: 0;
	font-size: var(--lc-text-section-heading);
	font-weight: var(--lc-weight-bold);
}

/* A department row, or a single link such as "Sale". */
.lc-drawer__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 var(--lc-page-padding);
	border-bottom: var(--lc-border);
	color: var(--lc-ink);
	font-size: 16px;
	font-weight: var(--lc-weight-bold);
	text-decoration: none;
	cursor: pointer;
}

/* Hide the browser's own little triangle on <summary>; we show a chevron instead. */
summary.lc-drawer__row {
	list-style: none;
}

summary.lc-drawer__row::-webkit-details-marker {
	display: none;
}

.lc-drawer__row .lc-icon {
	color: var(--lc-muted);
}

/* Chevron points down when the department is open. */
.lc-drawer__group[open] > summary .lc-icon {
	transform: rotate(90deg);
}

.lc-drawer__group[open] > summary {
	color: var(--lc-blue);
}

.lc-drawer__list {
	padding: 4px 0;
	border-bottom: var(--lc-border);
	background: var(--lc-pale-blue);
}

.lc-drawer__link {
	display: flex;
	align-items: center;
	min-height: var(--lc-tap-size);
	padding: 0 var(--lc-page-padding) 0 28px;
	color: var(--lc-ink);
	font-size: 15px;
	text-decoration: none;
}

.lc-drawer__row--sale,
.lc-drawer__row--sale:hover {
	color: var(--lc-sale-red);
}


/* ==========================================================================
   8. Product grid and product tile
   Used everywhere products are listed: shop, categories, search, new
   arrivals, "You may also like".
   ========================================================================== */

/* --- Grid ------------------------------------------------------------------
   Phones: 2 across. Desktop: as many as fit at 190px or wider, which is 5
   across at full width. "auto-fill" keeps tiles the same medium size even
   when a row has only one or two products. */

.lc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--lc-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.lc-grid {
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	}
}

/* --- Tile ------------------------------------------------------------------ */

.lc-grid > .product {
	overflow: hidden; /* Clips the picture to the rounded corners. */
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
}

/* The whole tile is one link, stacked top to bottom. */
.lc-grid > .product > a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding-bottom: 10px;
	color: var(--lc-ink);
	text-decoration: none;
}

/* Keyboard focus: outline the whole tile (the link's own outline would be clipped). */
.lc-grid > .product > a:focus-visible {
	outline: none;
}

.lc-grid > .product:has(a:focus-visible) {
	outline: 2px solid var(--lc-blue);
	outline-offset: 2px;
}

/* Picture area: always 3:4, with a plain light background while the photo loads. */
.lc-tile__image {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--lc-pale-blue);
}

.lc-tile__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Fill the area and crop the edges rather than squash the photo. */
}

/* Product name. */
.lc-grid .woocommerce-loop-product__title {
	margin: 0;
	padding: 0 10px;
	font-size: var(--lc-text-tile-name);
	font-weight: var(--lc-weight-regular);
	line-height: 1.3;
}

.lc-grid > .product > a:hover .woocommerce-loop-product__title {
	text-decoration: underline;
}

/* Price row. "margin-top: auto" pushes it to the bottom of the tile, so
   prices line up across a row even when one name wraps to two lines. */
.lc-grid .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
	margin-top: auto;
	padding: 0 10px;
	color: var(--lc-blue);
	font-size: var(--lc-text-tile-price);
	font-weight: var(--lc-weight-bold);
	line-height: 1.3;
}

/* On sale: WooCommerce prints the old price (<del>) first and the sale price
   (<ins>) second. The design wants the sale price first, so swap them. */
.lc-grid .price ins {
	order: 1;
	color: var(--lc-sale-red);
	text-decoration: none;
}

.lc-grid .price del {
	order: 2;
	color: var(--lc-muted);
	font-size: var(--lc-text-tile-old-price);
	font-weight: var(--lc-weight-regular);
}

/* --- Discount badge ---------------------------------------------------------
   Black with white text. Only printed for products that are on sale. */

.lc-badge {
	display: inline-block;
	padding: 3px 7px;
	border-radius: var(--lc-radius-badge);
	background: var(--lc-sale-black);
	color: var(--lc-white);
	font-size: 13px;
	font-weight: var(--lc-weight-bold);
	line-height: 1.3;
}

/* On a tile it sits at the top left of the picture. */
.lc-tile__image .lc-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
}

/* --- Listing pages: shop, category, search results, sale --------------------- */

.woocommerce-breadcrumb {
	margin: 0 0 8px;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-breadcrumb a {
	color: var(--lc-muted);
}

/* Page title: the category name, "Sale", or the search words. */
.woocommerce-products-header__title {
	margin: 0 0 14px;
	font-size: var(--lc-text-product-title);
}

/* Optional category description typed under Products > Categories. */
.woocommerce-products-header .term-description {
	max-width: 70ch;
	margin-bottom: 14px;
	color: var(--lc-muted);
}

/* Category chips: one row that scrolls sideways, reaching both screen edges.
   Phones only; desktop has the category row in the header instead. */
.lc-chips {
	margin: 0 calc(var(--lc-page-padding) * -1) 16px;
}

.lc-chips__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-chips .lc-chips__list {
	overflow-x: auto;
	padding: 2px var(--lc-page-padding) 8px; /* Top room for the focus outline, bottom room for the scroll bar. */
}

/* A chip looks like a size button on the product page, so "chosen" reads the same way everywhere. */
.lc-chip {
	display: inline-flex;
	align-items: center;
	height: var(--lc-tap-size);
	padding: 0 14px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-semibold);
	text-decoration: none;
	white-space: nowrap;
}

.lc-chip:hover {
	border-color: var(--lc-blue);
	color: var(--lc-blue);
}

/* The category being viewed. */
.lc-chip[aria-current="page"] {
	padding: 0 13px;
	border: 2px solid var(--lc-blue);
	background: var(--lc-pale-blue);
	color: var(--lc-blue);
}

@media (min-width: 900px) {
	.lc-chips {
		display: none;
	}
}

/* Toolbar: result count on the left, sort list on the right. */
.lc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-bottom: 14px;
}

.woocommerce-result-count {
	margin: 0;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-ordering {
	margin: 0;
}

/* The sort list, restyled flat with our own small chevron. */
.woocommerce-ordering select {
	height: var(--lc-tap-size);
	max-width: 100%;
	padding: 0 36px 0 12px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101828' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* Page numbers: square buttons, the current page filled Blue. */
.woocommerce-pagination {
	margin-top: 24px;
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--lc-tap-size);
	height: var(--lc-tap-size);
	padding: 0 8px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	color: var(--lc-ink);
	font-weight: var(--lc-weight-semibold);
	text-decoration: none;
}

.woocommerce-pagination .page-numbers a:hover {
	border-color: var(--lc-blue);
	color: var(--lc-blue);
}

.woocommerce-pagination .page-numbers span.current {
	border-color: var(--lc-blue);
	background: var(--lc-blue);
	color: var(--lc-white);
}

/* The "..." between far-apart page numbers is not a button. */
.woocommerce-pagination .page-numbers span.dots {
	border: 0;
}

/* The "previous" chevron is the "next" chevron turned around. */
.woocommerce-pagination .page-numbers .prev .lc-icon {
	transform: rotate(180deg);
}

/* Empty list: a plain sentence and places to go next. */
.lc-empty {
	padding: 8px 0 24px;
}

.lc-empty__lead {
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: var(--lc-weight-semibold);
}

.lc-empty__links {
	flex-wrap: wrap;
	margin-top: 16px;
}

/* In the desktop header, the "Sale" link is underlined while the sale list is open. */
.lc-catnav__link--sale[aria-current="page"] {
	color: var(--lc-sale-red);
	text-decoration: underline;
}

/* --- Title band --------------------------------------------------------------
   Pale blue band across the top of listing pages: title, then breadcrumb. */

.lc-band {
	padding: 16px 0;
	background: var(--lc-pale-blue);
	text-align: center;
}

.lc-band__title {
	margin: 0 0 2px;
	font-size: var(--lc-text-product-title);
}

.lc-band .woocommerce-breadcrumb {
	margin: 0;
}

@media (min-width: 900px) {
	.lc-band {
		padding: 30px 0;
	}

	.lc-band__title {
		margin-bottom: 6px;
	}
}

/* --- Layout: filters beside results ------------------------------------------ */

.lc-shop__results {
	min-width: 0; /* Lets the grid shrink inside the column instead of pushing it wider. */
}

@media (min-width: 900px) {
	.lc-shop {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		align-items: start;
		gap: 32px;
	}
}

/* --- Filter panel -------------------------------------------------------------
   On phones this is a slide-in panel (it shares the phone menu's styles, see
   "Phone menu"). On desktop the same content sits in the page as a sidebar. */

.lc-filter {
	padding: 16px var(--lc-page-padding);
	border-bottom: var(--lc-border);
}

.lc-filter__title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: var(--lc-weight-bold);
}

.lc-filter__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* A category's own categories are set in a little. */
.lc-filter__list--nested {
	padding-left: 28px;
}

/* One row: a box (or a colour dot) and a name. The whole row is a link. */
.lc-filter__option {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: var(--lc-tap-size);
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
	text-decoration: none;
}

.lc-filter__option:hover {
	color: var(--lc-blue);
}

.lc-filter__option.is-on {
	font-weight: var(--lc-weight-semibold);
}

/* The tick box. Filled Blue with a white tick when switched on. */
.lc-filter__box {
	flex: none;
	width: 18px;
	height: 18px;
	border: 1px solid var(--lc-muted);
	border-radius: var(--lc-radius-badge);
	background: var(--lc-white);
}

.lc-filter__option.is-on .lc-filter__box {
	border-color: var(--lc-blue);
	background: var(--lc-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* The colour dot. Ringed in Ink when switched on, like the product page swatch. */
.lc-filter__dot {
	flex: none;
	width: 18px;
	height: 18px;
	border: 1px solid var(--lc-line);
	border-radius: 50%;
}

.lc-filter__option.is-on .lc-filter__dot {
	outline: 2px solid var(--lc-ink);
	outline-offset: 2px;
}

/* Price: two number boxes side by side, then the button. */
.lc-price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.lc-price__field input {
	width: 100%;
	height: var(--lc-tap-size);
	padding: 0 10px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	font-size: 16px; /* 16px stops iPhones zooming in when the box is tapped. */
}

.lc-price .lc-button-outline {
	grid-column: 1 / -1;
}

/* A quieter button than "Add to bag": white with a Blue edge. */
.lc-button-outline {
	height: var(--lc-tap-size);
	padding: 0 14px;
	border: 1px solid var(--lc-blue);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	color: var(--lc-blue);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-bold);
	cursor: pointer;
}

.lc-button-outline:hover {
	background: var(--lc-pale-blue);
}

/* The "Filter" button in the toolbar. Phones only. */
.lc-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: var(--lc-tap-size);
	padding: 0 14px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-semibold);
	cursor: pointer;
}

/* How many filters are on. */
.lc-filter-btn__count {
	min-width: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--lc-blue);
	color: var(--lc-white);
	font-size: 12px;
	font-weight: var(--lc-weight-bold);
	line-height: 20px;
	text-align: center;
}

/* On phones the result count takes its own line under the two controls. */
.lc-toolbar .woocommerce-result-count {
	order: 3;
	flex-basis: 100%;
}

@media (min-width: 900px) {
	/*
	 * Desktop: undo the slide-in panel and show the same content in the page.
	 * A <dialog> is hidden by the browser until opened, so every piece of
	 * that built-in behaviour is switched off here.
	 */
	.lc-filters,
	.lc-filters:not([open]) {
		display: block;
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		color: inherit;
	}

	.lc-filters .lc-drawer__panel {
		min-height: 0;
		padding-bottom: 0;
	}

	/* "Filter options" becomes a plain heading; the close button is not needed. */
	.lc-filters .lc-drawer__head {
		padding: 0 0 12px;
	}

	.lc-filters .lc-drawer__head .lc-icon-btn {
		display: none;
	}

	.lc-filters .lc-drawer__title {
		margin: 0;
		font-size: 18px;
	}

	.lc-filter {
		padding: 16px 0;
	}

	/* With a mouse the rows can sit closer together than on a touch screen. */
	.lc-filter__option {
		min-height: 34px;
	}

	.lc-filter-btn {
		display: none;
	}

	.lc-toolbar .woocommerce-result-count {
		order: 0;
		flex-basis: auto;
	}
}

/* --- Active filters -----------------------------------------------------------
   Above the results: one chip for each filter that is on, each removable. */

.lc-active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 14px;
}

.lc-active__label {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.lc-active__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-active__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 8px 0 12px;
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
	color: var(--lc-ink);
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-semibold);
	text-decoration: none;
}

.lc-active__chip:hover {
	color: var(--lc-blue-dark);
}

.lc-active__chip .lc-icon {
	width: 16px;
	height: 16px;
}

.lc-active__clear {
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-semibold);
}


/* ==========================================================================
   9. Homepage sections
   ========================================================================== */

/* --- A section: space above and below, and a heading row -------------------- */

.lc-section {
	padding-top: var(--lc-section-padding);
	padding-bottom: var(--lc-section-padding);
}

/* Heading on the left, an optional link ("View all") on the right. */
.lc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.lc-section__title {
	margin: 0;
	font-size: var(--lc-text-section-heading);
}

/* The padding makes the link easy to tap; the negative margin stops that
   padding from pushing the heading row taller. */
.lc-section__link {
	margin: -12px 0;
	padding: 12px 0;
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-semibold);
	white-space: nowrap;
}

/* --- Category tiles ---------------------------------------------------------
   Phones: 4 across. Desktop: as many as fit at 120px or wider, which puts
   all eight in one row. */

.lc-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-cats__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--lc-ink);
	text-decoration: none;
}

.lc-cats__link:hover {
	color: var(--lc-blue);
}

/* Square picture on Pale blue. The colour also shows if a category has no picture yet. */
.lc-cats__image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
}

.lc-cats__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lc-cats__label {
	font-size: var(--lc-text-category-label);
	font-weight: var(--lc-weight-semibold);
	line-height: 1.25;
	text-align: center;
}

/* --- Flash sale band ---------------------------------------------------------
   The only loud part of the site: Sale black with Sale yellow.

   Phone layout:    [ FLASH SALE      02 14 36 09 ]
                    [ tile  tile  tile  ->scroll  ]
                    [ See all sale items          ]

   Desktop layout:  [ FLASH SALE  |  tile tile tile tile ]
                    [ 02 14 36 09 |                      ]
                    [ See all...  |                      ]
   ---------------------------------------------------------------------------- */

.lc-flash {
	background: var(--lc-sale-black);
	color: var(--lc-white);
}

.lc-flash__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"head  timer"
		"tiles tiles"
		"link  link";
	align-items: end;
	gap: 16px 8px;
	padding-top: 20px;
	padding-bottom: 22px;
	padding-right: 0; /* The row of tiles runs off the right edge, to show it scrolls. */
}

.lc-flash__head {
	grid-area: head;
}

.lc-flash__title {
	margin: 0;
	color: var(--lc-sale-yellow);
	/* Shrinks a little on very narrow phones so the countdown still fits beside it. */
	font-size: clamp(22px, 6.6vw, var(--lc-text-flash-title));
	letter-spacing: 0.5px;
	line-height: 1.05;
	text-transform: uppercase; /* One of only two uppercase texts in the design. */
}

.lc-flash__ends {
	margin: 2px 0 0;
	color: var(--lc-sale-grey);
	font-size: var(--lc-text-small);
}

.lc-countdown {
	grid-area: timer;
	padding-right: var(--lc-page-padding);
}

.lc-countdown__boxes {
	display: flex;
	gap: 8px;
}

.lc-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}

/* Yellow box, black digits. */
.lc-countdown__num {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 4px;
	border-radius: var(--lc-radius-countdown);
	background: var(--lc-sale-yellow);
	color: var(--lc-sale-black);
	font-size: 22px;
	font-weight: var(--lc-weight-bold);
	line-height: 1;
	/* Every digit takes the same width, so the boxes do not wobble as they count. */
	font-variant-numeric: tabular-nums;
}

.lc-countdown__label {
	color: var(--lc-sale-grey);
	font-size: 11px;
	letter-spacing: 0.5px;
	line-height: 1.3;
	text-transform: uppercase; /* The other uppercase text in the design. */
}

.lc-flash__tiles {
	grid-area: tiles;
	min-width: 0; /* Lets the scrolling row be narrower than its contents. */
}

/* Phones: one row of 150px tiles that scrolls sideways. */
.lc-grid--scroll {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-right: var(--lc-page-padding);
	padding-bottom: 8px; /* Room for the scroll bar, so it does not sit on top of the tiles. */
	scroll-snap-type: x proximity; /* Tiles settle neatly at the left edge after a swipe. */
}

.lc-grid--scroll > .product {
	flex: 0 0 150px;
	scroll-snap-align: start;
}

.lc-flash__link {
	grid-area: link;
	justify-self: start;
	margin: -12px 0;
	padding: 12px 0;
	color: var(--lc-white);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-bold);
}

.lc-flash__link:hover {
	color: var(--lc-sale-yellow);
}

/* On the black band, keyboard focus is shown in yellow so it stays visible. */
.lc-flash :focus-visible,
.lc-flash .lc-grid > .product:has(a:focus-visible) {
	outline-color: var(--lc-sale-yellow);
}

@media (min-width: 900px) {
	.lc-section__head {
		margin-bottom: 16px;
	}

	.lc-section__link {
		font-size: var(--lc-text-body);
	}

	.lc-cats {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	/* Left column: title, countdown, link, centred against the tiles on the right. */
	.lc-flash__inner {
		grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr);
		grid-template-rows: 1fr auto auto auto 1fr;
		grid-template-areas:
			".     tiles"
			"head  tiles"
			"timer tiles"
			"link  tiles"
			".     tiles";
		align-items: start;
		gap: 14px 28px;
		padding-top: 28px;
		padding-bottom: 28px;
		padding-right: var(--lc-page-padding);
	}

	.lc-flash__title {
		font-size: var(--lc-text-flash-title);
		letter-spacing: 0;
		line-height: 1;
	}

	.lc-flash__ends {
		margin-top: 14px;
		font-size: 15px;
	}

	.lc-countdown {
		padding-right: 0;
	}

	.lc-flash__link {
		font-size: 15px;
	}

	/* Four tiles in a row, no scrolling. Any fifth and sixth are for phones only. */
	.lc-grid--scroll {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
		overflow: visible;
		padding-right: 0;
		padding-bottom: 0;
	}

	.lc-grid--scroll > .product:nth-child(n+5) {
		display: none;
	}
}

/* --- Trust strip -------------------------------------------------------------
   Stacked on phones, three columns on desktop. */

.lc-trust {
	padding: 24px 0;
	background: var(--lc-pale-blue);
}

.lc-trust__list {
	display: grid;
	gap: 18px;
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
}

.lc-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.lc-trust__item .lc-icon {
	color: var(--lc-blue);
}

.lc-trust__title {
	display: block;
	font-size: 15px;
	font-weight: var(--lc-weight-bold);
	line-height: 1.4;
}

.lc-trust__text {
	display: block;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

@media (min-width: 900px) {
	.lc-trust__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* ==========================================================================
   10. Product page
   Phone: everything in one column, the large picture edge to edge.
   Desktop: gallery on the left, details in a column on the right.
   ========================================================================== */

/* --- Page layout ------------------------------------------------------------ */

/* On phones the picture starts right under the header. */
.single-product .lc-main {
	padding-top: 0;
}

@media (min-width: 900px) {
	.single-product .lc-main {
		padding-top: 28px;
	}

	.single-product div.product {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		align-items: start;
		column-gap: 40px;
	}

	/* "You may also like" runs the full width under both columns. */
	.single-product div.product > .related {
		grid-column: 1 / -1;
	}
}

/* --- Gallery ---------------------------------------------------------------- */

.lc-gallery {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Large picture: 5:6 on phones, reaching both screen edges. */
.lc-gallery__main {
	position: relative;
	aspect-ratio: 5 / 6;
	margin: 0 calc(var(--lc-page-padding) * -1);
	overflow: hidden;
	background: var(--lc-pale-blue);
}

.lc-gallery__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The badge on the large picture is a little bigger than on tiles. */
.lc-gallery__main .lc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 9px;
	font-size: 15px;
}

/* Small pictures: a row on phones. */
.lc-gallery__thumbs {
	display: flex;
	gap: 8px;
}

.lc-gallery__thumb {
	flex: 0 0 64px;
	aspect-ratio: 3 / 4;
	padding: 0;
	overflow: hidden;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
	cursor: pointer;
}

.lc-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The small picture that is currently shown large. */
.lc-gallery__thumb[aria-current="true"] {
	border: 2px solid var(--lc-blue);
}

@media (min-width: 900px) {
	/* Small pictures in a column on the left, large picture beside them. */
	.lc-gallery {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
	}

	.lc-gallery__thumbs {
		flex-direction: column;
		gap: 10px;
		order: -1;
	}

	.lc-gallery__thumb {
		flex: none;
		width: 76px;
	}

	.lc-gallery__main {
		flex: 1;
		aspect-ratio: 4 / 5;
		margin: 0;
		border-radius: var(--lc-radius);
	}
}

/* --- Details column --------------------------------------------------------- */

.single-product .summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 18px;
}

@media (min-width: 900px) {
	.single-product .summary {
		padding-top: 0;
	}
}

/* Breadcrumb sits close above the title. */
.lc-product__crumbs {
	margin: 0 0 -10px;
}

.lc-product__crumbs a {
	text-decoration: none;
}

.lc-product__crumbs a:hover {
	text-decoration: underline;
}

.single-product .product_title {
	margin: 0;
	font-size: var(--lc-text-product-title);
	line-height: 1.2;
}

/* --- Price row --------------------------------------------------------------
   Regular price in Blue. On sale: sale price in Sale red, old price struck
   through, then the black badge. */

.single-product .summary .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 10px;
	margin: 0;
	color: var(--lc-blue);
	font-size: var(--lc-text-product-price);
	font-weight: var(--lc-weight-bold);
	line-height: 1.3;
}

.single-product .summary .price ins {
	order: 1;
	color: var(--lc-sale-red);
	text-decoration: none;
}

.single-product .summary .price del {
	order: 2;
	color: var(--lc-muted);
	font-size: var(--lc-text-product-old-price);
	font-weight: var(--lc-weight-regular);
}

.single-product .summary .price .lc-badge {
	order: 3;
	align-self: center;
}

/* "or 3 payments of Rs 1,163 with Koko or Mintpay", right under the price.
   The negative top margin tucks it closer to the price than the usual gap. */
.lc-instalment {
	margin: -10px 0 0;
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
}

.lc-instalment strong {
	font-weight: var(--lc-weight-bold);
	white-space: nowrap;
}

/* --- Colour and size options -------------------------------------------------
   WooCommerce prints the options as a table. Here it is laid out as simple
   stacked blocks: label, then the row of buttons. */

.single-product form.cart {
	margin: 0;
}

.variations,
.variations tbody,
.variations tr,
.variations th,
.variations td {
	display: block;
	padding: 0;
	text-align: left;
}

.variations {
	width: 100%;
	margin: 0;
	border: 0;
}

.variations tr {
	position: relative; /* Lets the "Size guide" link sit at the row's top right. */
	margin-bottom: 16px;
}

.variations th {
	margin-bottom: 8px;
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-semibold);
}

/* The drop-down list WooCommerce needs stays in the page but is not shown. */
.lc-native-select {
	display: none;
}

.lc-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Size button. */
.lc-option {
	min-width: 48px;
	height: var(--lc-tap-size);
	padding: 0 10px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-semibold);
	cursor: pointer;
}

/* Chosen size: thicker Blue border (1px less padding keeps the button the same width). */
.lc-option[aria-pressed="true"] {
	padding: 0 9px;
	border: 2px solid var(--lc-blue);
	background: var(--lc-pale-blue);
	color: var(--lc-blue);
}

/* A size or colour that is not sold in the current combination. */
.lc-option:disabled {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}

/* Colour swatch: a white ring with the colour inside. */
.lc-option--swatch {
	width: var(--lc-tap-size);
	min-width: 0;
	padding: 4px;
	border-radius: 50%;
}

.lc-option__swatch {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

/* Chosen colour: ringed in Ink. */
.lc-option--swatch[aria-pressed="true"] {
	padding: 3px;
	border: 2px solid var(--lc-ink);
	background: var(--lc-white);
}

.lc-size-guide {
	position: absolute;
	top: 0;
	right: 0;
	font-size: var(--lc-text-body);
}

/* WooCommerce's "Clear" link under the options. */
.reset_variations {
	display: inline-block;
	margin-top: 8px;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

/* Price and stock note for the chosen combination. */
.woocommerce-variation {
	margin-bottom: 12px;
}

.woocommerce-variation:empty {
	margin: 0;
}

.single-product .stock {
	margin: 0;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

/* --- Add to bag -------------------------------------------------------------
   The design has no quantity box on this page: one tap adds one item, and
   the amount can be changed in the bag. */

.single-product form.cart .quantity {
	/* "!important" is needed here: once a colour and size are chosen, WooCommerce's
	   own script writes "display: block" straight onto this box, which would
	   otherwise win over the stylesheet. The box still sends "1" with the form. */
	display: none !important;
}

.single_add_to_cart_button {
	display: block;
	width: 100%;
	height: var(--lc-button-height);
	border: 0;
	border-radius: var(--lc-radius);
	background: var(--lc-blue);
	color: var(--lc-white);
	font-size: 16px;
	font-weight: var(--lc-weight-bold);
	cursor: pointer;
}

.single_add_to_cart_button:hover {
	background: var(--lc-blue-dark);
}

/* WooCommerce marks the button like this until a colour and size are chosen. */
.single_add_to_cart_button.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* --- Info rows --------------------------------------------------------------
   Three rows that open in place. */

.lc-info__row {
	border-top: var(--lc-border);
}

.lc-info__row summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	list-style: none; /* Hide the browser's own triangle; we show a chevron. */
	cursor: pointer;
}

.lc-info__row summary::-webkit-details-marker {
	display: none;
}

.lc-info__row summary .lc-icon {
	color: var(--lc-muted);
}

/* Chevron points down while the row is open. */
.lc-info__row[open] summary .lc-icon {
	transform: rotate(90deg);
}

.lc-info__title {
	display: block;
	font-size: 15px;
	font-weight: var(--lc-weight-semibold);
	line-height: 1.4;
}

.lc-info__sub {
	display: block;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.lc-info__body {
	padding: 0 0 14px;
	/* Keeps lines of text to a comfortable reading length. */
	max-width: 60ch;
}

.lc-info__body > :last-child {
	margin-bottom: 0;
}

/* --- You may also like ------------------------------------------------------ */

.single-product .related {
	padding-top: 24px;
}

.single-product .related > h2 {
	margin: 0 0 12px;
}

@media (max-width: 899px) {
	/* Phones show four of the five, to keep two full rows. */
	.single-product .related .lc-grid > .product:nth-child(n+5) {
		display: none;
	}

	/* The design shows the trust strip on desktop product pages only. */
	.single-product .lc-trust {
		display: none;
	}
}

@media (min-width: 900px) {
	.single-product .related {
		padding-top: 36px;
	}

	.single-product .related > h2 {
		margin-bottom: 16px;
	}
}

/* --- Messages ("Added to your bag", errors) ---------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 16px 0;
	padding: 12px 16px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
	list-style: none;
}

.woocommerce-error {
	border-color: var(--lc-sale-red);
	background: var(--lc-white);
	color: var(--lc-sale-red);
}

/* Text on the left, link ("View bag") on the right; the link drops below
   the text when there is not room for both. */
.woocommerce-message,
.woocommerce-info:has(.button) {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}

/* WooCommerce puts the button before the words; show the words first. */
.woocommerce-info:has(.button) .button {
	order: 2;
}

.woocommerce-message a {
	font-weight: var(--lc-weight-bold);
	white-space: nowrap;
}


/* ==========================================================================
   11. Footer
   ========================================================================== */

.lc-footer {
	margin-top: auto; /* Pushes the footer to the bottom of a short page. */
	padding: 22px 0 10px;
	background: var(--lc-ink);
	color: var(--lc-white);
	font-size: var(--lc-text-small);
}

.lc-footer__logo {
	margin: 0;
	font-size: 18px;
	font-weight: var(--lc-weight-bold);
	line-height: 1.3;
}

/* Phone, Returns, Size guide, Contact on one line, wrapping if needed. */
.lc-footer__list {
	display: flex;
	flex-wrap: wrap;
	color: var(--lc-footer-text);
}

/* The "·" between items. */
.lc-footer__list li + li::before {
	content: "·";
	margin: 0 6px;
}

/* Tall enough to tap comfortably, without changing how the line looks. */
.lc-footer__list a,
.lc-footer__text {
	display: inline-block;
	padding: 12px 0;
	color: var(--lc-footer-text);
	text-decoration: none;
}

.lc-footer__list a:hover {
	color: var(--lc-white);
	text-decoration: underline;
}


/* ==========================================================================
   12. Elevated look: depth and movement
   Added after the first build to lift the design off the page. The rules in
   this section come last on purpose, so where they restyle something from an
   earlier section (category pictures, feature band, footer) they win.

   The idea: one bold element (the arch-framed photo in the banner, which
   draws itself in when the page loads) and quiet depth everywhere else.
   ========================================================================== */

/* --- Movement, in one place --------------------------------------------------- */

@keyframes lc-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* The photo is uncovered from the bottom up, inside its arch. */
@keyframes lc-arch-in {
	from {
		clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
	}
	to {
		clip-path: inset(0 0 0 0 round 999px 999px 0 0);
	}
}

/* The photo starts slightly zoomed and settles. */
@keyframes lc-settle {
	from {
		transform: scale(1.14);
	}
	to {
		transform: none;
	}
}

/* The outline arch behind the photo grows into place last. */
@keyframes lc-outline-in {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* --- Header and buttons ------------------------------------------------------- */

/* A soft shadow under the header separates it from the page below. */
.lc-header {
	position: relative;
	z-index: 5;
	box-shadow: 0 12px 24px -22px rgb(16 24 40 / 0.4);
}

/* Main button, for links that should look like buttons. */
.lc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	background: var(--lc-blue);
	box-shadow: var(--lc-shadow-blue);
	color: var(--lc-white);
	font-size: 15px;
	font-weight: var(--lc-weight-bold);
	text-decoration: none;
	transition: transform 0.25s var(--lc-ease), background-color 0.25s var(--lc-ease);
}

.lc-btn:hover {
	background: var(--lc-blue-dark);
	color: var(--lc-white);
	transform: translateY(-2px);
}

/* Second button: white, with an Ink edge. */
.lc-btn--ghost {
	background: var(--lc-white);
	box-shadow: inset 0 0 0 1.5px var(--lc-ink);
	color: var(--lc-ink);
}

.lc-btn--ghost:hover {
	background: var(--lc-ink);
	color: var(--lc-white);
}

.single_add_to_cart_button {
	border-radius: 8px;
	box-shadow: var(--lc-shadow-blue);
	transition: transform 0.25s var(--lc-ease), background-color 0.25s var(--lc-ease);
}

.single_add_to_cart_button:not(.disabled):hover {
	transform: translateY(-2px);
}

/* --- Product tiles: lift on hover ---------------------------------------------- */

.lc-grid > .product {
	border-radius: var(--lc-radius-tile);
	box-shadow: var(--lc-shadow-rest);
	transition: transform 0.3s var(--lc-ease), box-shadow 0.3s var(--lc-ease);
}

.lc-tile__image img {
	transition: transform 0.6s var(--lc-ease);
}

/* Only where there is a mouse; on touch screens a "hover" would stick after a tap. */
@media (hover: hover) {
	.lc-grid > .product:hover {
		box-shadow: var(--lc-shadow-lift);
		transform: translateY(-4px);
	}

	.lc-grid > .product:hover .lc-tile__image img {
		transform: scale(1.05);
	}
}

/* --- Banner (hero) --------------------------------------------------------------
   Phone:    a short banner. Heading and line on the left, a small arch photo
             on the right, the two buttons in one row underneath. Kept to about
             300px tall so the category circles show on the first screen.
   Desktop:  text on the left, arch photo on the right, resting on the bottom edge. */

.lc-hero {
	padding-top: 16px;
}

.lc-hero__card {
	position: relative;
	display: grid;
	overflow: hidden;
	border-radius: var(--lc-radius-card);
	/* Pale blue running into a warm blush behind the photo. */
	background:
		radial-gradient(110% 120% at 88% 8%, var(--lc-blush) 0%, transparent 58%),
		linear-gradient(115deg, #DDE6FA 0%, var(--lc-pale-blue) 48%, #F6EFF3 100%);
	/* Phone grid: words and photo side by side, buttons across the bottom. */
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"title   art"
		"lead    art"
		"actions actions";
	column-gap: 14px;
	padding: 22px 18px 20px;
}

/* On phones the text wrapper steps aside ("display: contents"), so the heading,
   line and buttons can each take their own place in the grid above. */
.lc-hero__text {
	display: contents;
}

.lc-hero__title {
	grid-area: title;
	max-width: 13ch;
	margin: 0 0 8px;
	font-size: clamp(27px, 7.4vw, 56px);
	letter-spacing: -0.02em;
	line-height: 1.04;
	text-wrap: balance; /* Evens out the line lengths. */
}

.lc-hero__lead {
	grid-area: lead;
	max-width: 34ch;
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
}

.lc-hero__actions {
	grid-area: actions;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

/* On phones the two buttons are a little narrower so they share one line,
   which keeps the banner short and the products close. */
.lc-hero__actions .lc-btn {
	flex: 1 1 auto; /* Share the row evenly; stack only on the very narrowest phones. */
	padding: 0 12px;
	font-size: var(--lc-text-body);
	white-space: nowrap;
}

/* The arch: a tall box with a fully rounded top, like a doorway.
   On phones it is small and sits to the right of the words, lined up with
   the bottom of the line of text. */
.lc-hero__art {
	grid-area: art;
	position: relative;
	align-self: end;
	width: 104px;
	aspect-ratio: 10 / 13;
	margin-top: 10px; /* Room for the outline arch above it. */
}

.lc-hero__arch {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 999px 999px 0 0;
	background: var(--lc-white);
}

.lc-hero__arch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* A thin Blue outline, one size larger, standing behind the photo. */
.lc-hero__arch-back {
	position: absolute;
	inset: -8px -8px 0;
	border: 1.5px solid rgb(27 63 160 / 0.4);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
	transform-origin: center bottom;
}

@media (min-width: 900px) {
	.lc-hero {
		padding-top: 24px;
	}

	/* Desktop goes back to two plain columns: the text block and the photo. */
	.lc-hero__card {
		grid-template-columns: 1.15fr 0.85fr;
		grid-template-areas: none;
		column-gap: 0;
		align-items: center;
		min-height: 440px;
		padding: 0;
	}

	.lc-hero__text {
		display: block;
		padding: 48px 0 48px 56px;
	}

	.lc-hero__title {
		margin-bottom: 12px;
	}

	.lc-hero__lead {
		margin-bottom: 26px;
		font-size: 18px;
		line-height: 1.5;
	}

	.lc-hero__actions {
		margin-top: 0;
	}

	.lc-hero__arch-back {
		inset: -16px -16px 0;
	}

	.lc-hero__actions .lc-btn {
		flex: 0 0 auto;
		padding: 0 22px;
		font-size: 15px;
	}

	.lc-hero__art {
		grid-area: auto; /* Drop the phone grid area name. */
		justify-self: center;
		align-self: end;
		width: 340px;
		aspect-ratio: 34 / 39;
		margin: 44px 64px 0 0;
	}
}

/* --- Category circles ------------------------------------------------------------
   Phones: a row that scrolls sideways. Desktop: one centred row. */

.lc-section--cats {
	padding-bottom: 4px;
}

.lc-cats {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	margin: 0 calc(var(--lc-page-padding) * -1);
	padding: 6px var(--lc-page-padding) 10px;
	scroll-snap-type: x proximity;
}

.lc-cats > li {
	flex: 0 0 76px;
	scroll-snap-align: start;
}

.lc-cats__link {
	align-items: center;
	gap: 8px;
}

/* White ring, hairline edge and a soft shadow: the picture sits on the page like a button. */
.lc-cats__image {
	width: 76px;
	height: 76px;
	padding: 3px;
	border-radius: 50%;
	background: var(--lc-white);
	box-shadow: 0 0 0 1.5px var(--lc-line), var(--lc-shadow-rest);
	transition: box-shadow 0.3s var(--lc-ease);
}

.lc-cats__image img {
	border-radius: 50%;
	transition: transform 0.5s var(--lc-ease);
}

@media (hover: hover) {
	.lc-cats__link:hover .lc-cats__image {
		box-shadow: 0 0 0 2px var(--lc-blue), var(--lc-shadow-lift);
	}

	.lc-cats__link:hover .lc-cats__image img {
		transform: scale(1.08);
	}
}

@media (min-width: 900px) {
	.lc-cats {
		justify-content: center;
		gap: 30px;
		overflow: visible;
		margin: 0;
		padding: 6px 0;
	}

	.lc-cats > li {
		flex-basis: 104px;
	}

	.lc-cats__image {
		width: 104px;
		height: 104px;
	}

	.lc-cats__label {
		font-size: var(--lc-text-small);
	}
}

/* --- Promo cards -----------------------------------------------------------------
   Words on the left, a photo fading in from the right. */

.lc-promos {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	margin: 0 calc(var(--lc-page-padding) * -1);
	padding: 4px var(--lc-page-padding) 14px;
	list-style: none;
	scroll-snap-type: x proximity;
}

.lc-promos > li {
	flex: 0 0 80%;
	scroll-snap-align: start;
}

.lc-promo {
	position: relative;
	display: flex;
	min-height: 168px;
	overflow: hidden;
	border-radius: var(--lc-radius-card);
	box-shadow: var(--lc-shadow-rest);
	color: var(--lc-ink);
	text-decoration: none;
	transition: transform 0.3s var(--lc-ease), box-shadow 0.3s var(--lc-ease);
}

.lc-promo:hover {
	color: var(--lc-ink);
}

.lc-promo--blue {
	background: linear-gradient(120deg, #DFE7FA, var(--lc-pale-blue));
}

.lc-promo--blush {
	background: linear-gradient(120deg, var(--lc-blush), #FDF6F2);
}

/* The sale card is a sale area, so it may use the sale yellow. */
.lc-promo--sale {
	background: linear-gradient(120deg, var(--lc-sale-tint), #FFFAE3);
}

.lc-promo__text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 60%;
	padding: 20px;
}

.lc-promo__title {
	font-size: 21px;
	font-weight: var(--lc-weight-bold);
	line-height: 1.15;
}

.lc-promo__sub {
	color: var(--lc-muted);
	font-size: var(--lc-text-body);
}

.lc-promo--sale .lc-promo__sub {
	color: var(--lc-sale-red);
	font-weight: var(--lc-weight-bold);
}

.lc-promo__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-bold);
}

.lc-promo__link .lc-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s var(--lc-ease);
}

/* The photo fills the right side and fades out towards the words. */
.lc-promo__image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50%;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
	mask-image: linear-gradient(to right, transparent, #000 40%);
}

.lc-promo__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.6s var(--lc-ease);
}

@media (hover: hover) {
	.lc-promo:hover {
		box-shadow: var(--lc-shadow-lift);
		transform: translateY(-3px);
	}

	.lc-promo:hover .lc-promo__image img {
		transform: scale(1.06);
	}

	/* The arrow nudges forward, showing the card leads somewhere. */
	.lc-promo:hover .lc-promo__link .lc-icon {
		transform: translateX(4px);
	}
}

@media (min-width: 900px) {
	.lc-promos {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		overflow: visible;
		margin: 0;
		padding: 0;
	}

	.lc-promo {
		min-height: 190px;
	}

	.lc-promo__text {
		padding: 24px;
	}
}

/* --- Product rows on the homepage ---------------------------------------------------
   Phones: one row that scrolls sideways, a little over two tiles showing.
   Desktop: five across. The extra padding leaves room for the hover lift. */

.lc-grid--row {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	margin: 0 calc(var(--lc-page-padding) * -1);
	padding: 6px var(--lc-page-padding) 16px;
	scroll-snap-type: x proximity;
}

.lc-grid--row > .product {
	flex: 0 0 44%;
	scroll-snap-align: start;
}

.lc-grid--scroll {
	padding-top: 6px;
}

@media (min-width: 900px) {
	.lc-grid--row {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 16px;
		overflow: visible;
		margin: 0;
		padding: 0;
	}
}

.lc-home {
	padding-bottom: 12px;
}

/* Rows that scroll sideways settle with the page's side padding still showing,
   instead of pulling the first item hard against the screen edge. */
.lc-cats,
.lc-promos,
.lc-grid--row,
.lc-grid--scroll {
	scroll-padding-left: var(--lc-page-padding);
}

/*
 * When a sideways row reaches its end, the swipe stops there. Without this,
 * the leftover swipe is passed on to the page behind, which on phones drags
 * the whole page sideways into blank space (or starts the browser's
 * "go back" gesture).
 */
.lc-cats,
.lc-promos,
.lc-grid--row,
.lc-grid--scroll,
.lc-chips .lc-chips__list {
	overscroll-behavior-x: contain;
}

/*
 * The page itself never moves sideways. "hidden" is for older phones;
 * "clip" does the same on newer ones without side effects.
 */
html {
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	overflow-x: clip;
}

/* --- Feature band ----------------------------------------------------------------
   A rounded Blue band with white text, floating on a shadow. */

.lc-trust {
	padding: var(--lc-section-padding) 0;
	background: none;
}

.lc-trust__list {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 22px 20px;
	border-radius: var(--lc-radius-card);
	background: linear-gradient(105deg, var(--lc-blue-dark) 0%, var(--lc-blue) 55%, #3157C4 100%);
	box-shadow: var(--lc-shadow-lift);
	color: var(--lc-white);
	list-style: none;
}

.lc-trust__item {
	align-items: center;
}

/* Each icon sits in a soft white circle. */
.lc-trust__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.14);
}

.lc-trust__item .lc-icon {
	color: var(--lc-white);
}

.lc-trust__text {
	color: var(--lc-footer-text);
}

@media (min-width: 900px) {
	.lc-trust__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 24px 32px;
	}
}

/* --- Feature band as frosted glass (phones only) ---------------------------------
   Under 900px the band becomes a frosted-glass panel floating on a soft blue
   backdrop. Two blurred blue blobs sit behind the panel so the glass has
   something to blur. Desktop keeps the plain rounded blue band above. */

@media (max-width: 899px) {
	/* The backdrop. "isolation" keeps the blobs behind the panel but inside this box. */
	.lc-trust__glass {
		position: relative;
		padding: 22px 14px;
		border-radius: 22px;
		background: linear-gradient(135deg, #CFDCFF, #EAF0FF 55%, #C5D4FB);
		overflow: hidden;
		isolation: isolate;
	}

	.lc-trust__glass::before,
	.lc-trust__glass::after {
		content: "";
		position: absolute;
		z-index: -1;
		border-radius: 50%;
		filter: blur(2px);
	}

	.lc-trust__glass::before {
		top: -30px;
		left: -40px;
		width: 170px;
		height: 170px;
		background: #5B83E6;
		opacity: 0.55;
	}

	.lc-trust__glass::after {
		right: -30px;
		bottom: -30px;
		width: 150px;
		height: 150px;
		background: var(--lc-blue);
		opacity: 0.45;
	}

	/* The glass panel itself. */
	.lc-trust__list {
		gap: 0;
		padding: 8px 18px;
		border: 1px solid rgb(255 255 255 / 0.8);
		border-radius: 18px;
		background: rgb(255 255 255 / 0.55);
		-webkit-backdrop-filter: blur(14px) saturate(140%);
		backdrop-filter: blur(14px) saturate(140%);
		box-shadow: 0 8px 24px rgb(27 63 160 / 0.18), inset 0 1px 0 rgb(255 255 255 / 0.9);
		color: var(--lc-ink);
	}

	/* Thin divider between the rows. */
	.lc-trust__item {
		padding: 14px 0;
	}

	.lc-trust__item + .lc-trust__item {
		border-top: 1px solid rgb(27 63 160 / 0.15);
	}

	/* Blue icons in soft blue circles. */
	.lc-trust__icon {
		background: rgb(27 63 160 / 0.12);
	}

	.lc-trust__item .lc-icon {
		color: var(--lc-blue);
	}

	.lc-trust__text {
		color: var(--lc-muted);
	}
}

/* --- Footer ------------------------------------------------------------------------
   Four blocks: brand, Shop, Help, Visit us. */

.lc-footer {
	padding: 36px 0 18px;
}

.lc-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px 20px;
}

/* On phones the brand block takes the full width above the link columns. */
.lc-footer__brand {
	grid-column: 1 / -1;
}

.lc-footer__logo {
	font-size: 22px;
}

.lc-footer__note {
	margin: 4px 0 0;
	color: var(--lc-footer-text);
}

.lc-footer__heading {
	margin: 0 0 4px;
	color: var(--lc-white);
	font-size: var(--lc-text-body);
}

/* Links stacked one per line (this replaces the single line with dots). */
.lc-footer__list {
	display: block;
}

.lc-footer__list li + li::before {
	content: none;
}

.lc-footer__list a,
.lc-footer__text {
	padding: 10px 0;
}

.lc-footer__legal {
	margin: 26px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	color: var(--lc-footer-text);
}

@media (min-width: 900px) {
	.lc-footer {
		padding-top: 48px;
	}

	.lc-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
		gap: 32px;
	}

	.lc-footer__brand {
		grid-column: auto;
	}

	.lc-footer__list a,
	.lc-footer__text {
		padding: 5px 0;
	}
}

/* --- When things move ----------------------------------------------------------------
   Everything that moves by itself is inside this block, so visitors who have
   asked their device for less motion get a still page. */

@media (prefers-reduced-motion: no-preference) {
	/* Page load: the words rise in turn, then the photo is uncovered, then its outline. */
	.lc-hero__title {
		animation: lc-rise 0.8s var(--lc-ease) 0.05s both;
	}

	.lc-hero__lead {
		animation: lc-rise 0.8s var(--lc-ease) 0.18s both;
	}

	.lc-hero__actions {
		animation: lc-rise 0.8s var(--lc-ease) 0.3s both;
	}

	.lc-hero__arch {
		animation: lc-arch-in 1.1s var(--lc-ease) 0.15s both;
	}

	.lc-hero__arch img {
		animation: lc-settle 1.7s var(--lc-ease) 0.15s both;
	}

	.lc-hero__arch-back {
		animation: lc-outline-in 0.9s var(--lc-ease) 0.75s both;
	}

	/*
	 * Sections lower down rise gently as they scroll into view. This uses a
	 * newer browser feature; browsers without it simply show the sections.
	 */
	@supports (animation-timeline: view()) {
		.lc-reveal {
			animation: lc-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 32%;
		}
	}
}

/* For visitors who asked for less motion: no hover movement either. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* ==========================================================================
   13. Buying feedback and the glass look
   What happens when a shopper acts: the bag panel, the sticky bar on phones,
   and the product photo that grows into the product page.

   "Glass" (a frosted, see-through surface) is used only where there is
   something behind it to blur: the sticky bar over the scrolling page, the
   dimmed page behind a slide-in panel, and the banner's second button.
   On a plain white area it would just look grey, so it is not used there.
   ========================================================================== */

:root {
	--lc-glass: rgb(255 255 255 / 0.72);
	--lc-glass-edge: rgb(255 255 255 / 0.85);
	--lc-glass-blur: blur(14px) saturate(1.5);
}

/* --- Buttons that are real <button> elements ---------------------------------- */

.lc-btn {
	border: 0;
	cursor: pointer;
}

/* --- Slide-in panels ------------------------------------------------------------
   The page behind a panel is dimmed and frosted. */

.lc-drawer::backdrop {
	background: rgb(16 24 40 / 0.38);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* A panel that comes from the right instead of the left. */
.lc-drawer--right {
	margin-left: auto;
}

@keyframes lc-slide-from-left {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: none;
	}
}

@keyframes lc-slide-from-right {
	from {
		transform: translateX(100%);
	}
	to {
		transform: none;
	}
}

@keyframes lc-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* --- Bag panel ------------------------------------------------------------------
   Slides in after "Add to bag": what is in the bag, the subtotal, two buttons. */

.lc-bagpanel .lc-drawer__panel {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-bottom: 0;
}

/* The list scrolls if the bag is long; the buttons stay in view below it. */
.lc-bagpanel__body {
	flex: 1;
	overflow-y: auto;
}

.lc-bagpanel__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lc-bagpanel__item {
	display: flex;
	gap: 12px;
	padding: 14px var(--lc-page-padding);
	border-bottom: var(--lc-border);
}

.lc-bagpanel__thumb {
	flex: 0 0 64px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
}

.lc-bagpanel__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lc-bagpanel__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.lc-bagpanel__name {
	font-weight: var(--lc-weight-semibold);
	line-height: 1.3;
}

.lc-bagpanel__meta,
.lc-bagpanel__price {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.lc-bagpanel__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	padding: 14px var(--lc-page-padding);
	font-size: 16px;
}

.lc-bagpanel__empty {
	margin: 0;
	padding: 20px var(--lc-page-padding);
}

.lc-bagpanel__actions {
	display: grid;
	gap: 10px;
	padding: 14px var(--lc-page-padding) calc(16px + env(safe-area-inset-bottom));
	border-top: var(--lc-border);
}

/* A problem adding to the bag, shown right above the button. */
.lc-form-error {
	margin: 0 0 10px;
	color: var(--lc-sale-red);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-semibold);
}

/* --- Sticky "Add to bag" bar (phones) ----------------------------------------------
   Frosted glass, pinned to the bottom of the screen. The extra bottom padding
   keeps it clear of the home bar on phones without a button. */

.lc-stickybar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px var(--lc-page-padding) calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--lc-glass-edge);
	background: var(--lc-glass);
	-webkit-backdrop-filter: var(--lc-glass-blur);
	backdrop-filter: var(--lc-glass-blur);
	box-shadow: 0 -12px 28px -16px rgb(16 24 40 / 0.35);
}

/* The "hidden" switch must win over "display: flex" above. */
.lc-stickybar[hidden] {
	display: none;
}

.lc-stickybar__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

/* One line; a long name is cut off with "...". */
.lc-stickybar__name {
	overflow: hidden;
	font-size: var(--lc-text-small);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lc-stickybar__price {
	display: flex;
	align-items: baseline;
	gap: 0 8px;
	color: var(--lc-blue);
	font-size: var(--lc-text-tile-price);
	font-weight: var(--lc-weight-bold);
	line-height: 1.3;
}

.lc-stickybar__price ins {
	order: 1;
	color: var(--lc-sale-red);
	text-decoration: none;
}

.lc-stickybar__price del {
	order: 2;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-regular);
}

.lc-stickybar__btn {
	flex: none;
}

/* Browsers that cannot blur get a nearly solid white bar, so text stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.lc-stickybar {
		background: rgb(255 255 255 / 0.96);
	}
}

@media (max-width: 899px) {
	/* Leave room under the footer so the bar never covers its last line. */
	.single-product .lc-footer {
		padding-bottom: 96px;
	}
}

@media (min-width: 900px) {
	/* Desktop keeps the main button in view beside the photo, so no bar. */
	.lc-stickybar,
	.lc-stickybar[hidden] {
		display: none;
	}
}

/* --- Glass button in the banner ------------------------------------------------------
   The second banner button is frosted, letting the banner's colours through. */

.lc-hero .lc-btn--ghost {
	background: rgb(255 255 255 / 0.5);
	-webkit-backdrop-filter: blur(10px) saturate(1.4);
	backdrop-filter: blur(10px) saturate(1.4);
	box-shadow: inset 0 0 0 1px var(--lc-glass-edge), 0 8px 18px -10px rgb(16 24 40 / 0.35);
}

.lc-hero .lc-btn--ghost:hover {
	background: var(--lc-white);
	color: var(--lc-ink);
}

/* --- Product photo that grows into the product page ------------------------------------
   The large product photo carries a name. A tapped tile's photo is given the
   same name by the script, and the browser morphs one into the other. */

.lc-gallery__main {
	view-transition-name: lc-product-photo;
}

::view-transition-group(lc-product-photo) {
	animation-duration: 0.45s;
	animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* The two photos have different shapes; fill the moving frame instead of stretching. */
::view-transition-old(lc-product-photo),
::view-transition-new(lc-product-photo) {
	height: 100%;
	object-fit: cover;
}

@keyframes lc-bump {
	0% {
		transform: scale(1);
	}
	40% {
		transform: scale(1.5);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes lc-bar-in {
	from {
		transform: translateY(100%);
	}
	to {
		transform: none;
	}
}

/* Movement for this section, only for visitors who have not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
	/* Pages cross-fade into each other, and the named photo morphs. */
	@view-transition {
		navigation: auto;
	}

	.lc-drawer[open] {
		animation: lc-slide-from-left 0.32s var(--lc-ease);
	}

	.lc-drawer--right[open] {
		animation-name: lc-slide-from-right;
	}

	.lc-drawer[open]::backdrop {
		animation: lc-fade-in 0.32s ease-out;
	}

	/* The bag count pops when something is added. */
	.lc-bag__count.is-bumped {
		animation: lc-bump 0.5s var(--lc-ease);
	}

	.lc-stickybar {
		animation: lc-bar-in 0.3s var(--lc-ease);
	}
}


/* ==========================================================================
   14. Bag, checkout and account pages
   WooCommerce prints these pages; everything here only restyles what it
   prints. The three body classes below are added by WooCommerce, so these
   rules cannot leak onto other pages.
   ========================================================================== */

/* Ordinary text pages (Returns, Contact...) keep lines to a readable length. */
.page:not(.woocommerce-page) .lc-main > article {
	max-width: 72ch;
}

/* --- Shared pieces: tables, buttons, form fields ------------------------------- */

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .shop_table {
	width: 100%;
	border-collapse: collapse;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .shop_table th {
	text-align: left;
}

/* Every WooCommerce button on these pages: white with a Blue edge. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--lc-tap-size);
	padding: 0 18px;
	border: 1px solid var(--lc-blue);
	border-radius: 8px;
	background: var(--lc-white);
	color: var(--lc-blue);
	font-size: var(--lc-text-body);
	font-weight: var(--lc-weight-bold);
	text-decoration: none;
	cursor: pointer;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .button:hover {
	background: var(--lc-pale-blue);
}

/* The one main action on each page: solid Blue and taller. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.button.alt, .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit, [name="save_account_details"], [name="save_address"]) {
	min-height: var(--lc-button-height);
	border-color: var(--lc-blue);
	background: var(--lc-blue);
	box-shadow: var(--lc-shadow-blue);
	color: var(--lc-white);
	font-size: 16px;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.button.alt, .checkout-button, #place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit, [name="save_account_details"], [name="save_address"]):hover {
	border-color: var(--lc-blue-dark);
	background: var(--lc-blue-dark);
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .button:disabled,
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Text boxes, drop-downs and text areas. 16px text stops iPhones zooming in. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.input-text, select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	font-size: 16px;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.input-text, select, textarea):focus {
	border-color: var(--lc-blue);
	outline: 2px solid var(--lc-blue);
	outline-offset: 0;
}

/* One form field: label above, box below. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .form-row {
	margin: 0 0 14px;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .form-row label {
	display: block;
	margin-bottom: 4px;
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-semibold);
}

/* The star on required fields. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .required {
	color: var(--lc-sale-red);
	text-decoration: none;
}

/* A tick box with its label beside it. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .form-row label.checkbox,
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--lc-tap-size);
	font-weight: var(--lc-weight-regular);
}

/* WooCommerce's searchable drop-down (country, district) made to match the other boxes. */
.select2-container .select2-selection--single {
	height: 48px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
	color: var(--lc-ink);
	font-size: 16px;
	line-height: 46px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 6px;
}

/* --- Bag ------------------------------------------------------------------------
   Each item is a row: picture on the left, details beside it, a remove
   button in the corner. The total sits in a card (beside the items on desktop). */

.woocommerce-cart .woocommerce-cart-form table.cart,
.woocommerce-cart .woocommerce-cart-form table.cart tbody,
.woocommerce-cart .woocommerce-cart-form table.cart td {
	display: block;
}

/* The column headings are not needed in the row layout; screen readers still get them. */
.woocommerce-cart .woocommerce-cart-form table.cart thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.woocommerce-cart tr.cart_item {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 4px 12px;
	padding: 14px 0;
	border-bottom: var(--lc-border);
}

.woocommerce-cart td.product-thumbnail {
	grid-row: 1 / span 4;
}

.woocommerce-cart td.product-thumbnail img {
	display: block;
	width: 72px;
	aspect-ratio: 3 / 4;
	border-radius: var(--lc-radius);
	object-fit: cover;
}

.woocommerce-cart td.product-name {
	padding-right: 44px; /* Keeps the name clear of the remove button. */
	font-weight: var(--lc-weight-semibold);
	line-height: 1.3;
}

.woocommerce-cart td.product-name a {
	color: var(--lc-ink);
	text-decoration: none;
}

/* Chosen colour and size, under the name. */
.woocommerce-cart td.product-name .variation {
	margin: 2px 0 0;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
	font-weight: var(--lc-weight-regular);
}

.woocommerce-cart td.product-name .variation dt,
.woocommerce-cart td.product-name .variation dd,
.woocommerce-cart td.product-name .variation p {
	display: inline;
	margin: 0;
}

.woocommerce-cart td.product-price {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-cart td.product-subtotal {
	color: var(--lc-blue);
	font-weight: var(--lc-weight-bold);
}

/* Quantity box. */
.woocommerce-cart .quantity .qty {
	width: 76px;
	min-height: var(--lc-tap-size);
	padding: 0 8px;
	text-align: center;
}

/* Remove button: a 44px target in the row's top right corner. */
.woocommerce-cart td.product-remove {
	position: absolute;
	top: 4px;
	right: -10px;
}

.woocommerce-cart a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--lc-tap-size);
	height: var(--lc-tap-size);
	border-radius: var(--lc-radius);
	color: var(--lc-muted);
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
}

.woocommerce-cart a.remove:hover {
	color: var(--lc-sale-red);
}

/* Under the items: coupon box and "Update bag".
   (The long selector is needed to beat the "every cell is a block" rule above,
   which otherwise removed the gap and left the two buttons touching.) */
.woocommerce-cart .woocommerce-cart-form table.cart td.actions {
	display: grid;
	gap: 12px;
	padding: 16px 0;
}

/* Let that row take the full width, so "Update bag" can sit at the far right on wider screens. */
.woocommerce-cart .woocommerce-cart-form table.cart tr:has(> td.actions) {
	display: block;
}

.woocommerce-cart .coupon {
	display: flex;
	gap: 8px;
}

.woocommerce-cart .coupon label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.woocommerce-cart .coupon .input-text {
	flex: 1;
	min-width: 0;
}

/* The total card. */
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review {
	padding: 18px;
	border: var(--lc-border);
	border-radius: var(--lc-radius-card);
	background: var(--lc-white);
	box-shadow: var(--lc-shadow-rest);
}

.woocommerce-cart .cart_totals h2 {
	margin: 0 0 8px;
	font-size: var(--lc-text-section-heading);
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	border-bottom: var(--lc-border);
	vertical-align: top;
}

.woocommerce-cart .cart_totals td,
.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table th:last-child {
	text-align: right;
}

/* The final amount stands out. */
.woocommerce-cart .cart_totals .order-total :is(th, td),
.woocommerce-checkout-review-order-table .order-total :is(th, td) {
	border-bottom: 0;
	font-size: 18px;
	font-weight: var(--lc-weight-bold);
}

.woocommerce-cart .woocommerce-shipping-methods,
.woocommerce-checkout .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-cart .wc-proceed-to-checkout {
	margin-top: 14px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
}

/* Empty bag. */
.woocommerce-cart .cart-empty {
	font-size: 16px;
	font-weight: var(--lc-weight-semibold);
}

/* Breathing room between the total card and the footer. */
.woocommerce-cart .cart-collaterals {
	margin-bottom: 24px;
}

@media (min-width: 900px) {
	/* Items on the left, total card on the right. The card stays in view while scrolling. */
	.woocommerce-cart .lc-main .woocommerce:has(.woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
		gap: 0 48px;
	}

	.woocommerce-cart .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.woocommerce-cart .cart-collaterals {
		position: sticky;
		top: 20px;
	}
}

/* Tablets (600 to 899px): items still take the full width, so the total
   card is kept to a sensible width on the right instead of stretching. */
@media (min-width: 600px) and (max-width: 899px) {
	.woocommerce-cart .cart-collaterals {
		max-width: 420px;
		margin-left: auto;
	}
}

/* From tablet width up: each item on one line, and the coupon box and
   "Update bag" side by side. */
@media (min-width: 600px) {
	/* One line per item: picture, name, quantity, subtotal. */
	.woocommerce-cart tr.cart_item {
		grid-template-columns: 88px minmax(0, 1fr) 96px 120px;
		align-items: center;
		padding-right: 44px;
	}

	.woocommerce-cart td.product-thumbnail {
		grid-row: 1 / span 2;
	}

	.woocommerce-cart td.product-thumbnail img {
		width: 88px;
	}

	.woocommerce-cart td.product-name {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		padding-right: 0;
	}

	.woocommerce-cart td.product-price {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
	}

	.woocommerce-cart td.product-quantity {
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.woocommerce-cart td.product-subtotal {
		grid-column: 4;
		grid-row: 1 / span 2;
		text-align: right;
	}

	.woocommerce-cart td.product-remove {
		top: 50%;
		right: -6px;
		transform: translateY(-50%);
	}

	/* Coupon on the left, "Update bag" at the right end of the same row. */
	.woocommerce-cart .woocommerce-cart-form table.cart td.actions {
		grid-template-columns: minmax(0, 360px) auto;
		justify-content: space-between;
		align-items: center;
	}
}

/* --- Checkout -------------------------------------------------------------------
   Phone: your details, then the order summary and payment.
   Desktop: details on the left, summary and payment in a card on the right. */

.woocommerce-checkout form.checkout {
	display: grid;
	gap: 20px;
}

.woocommerce-checkout h3 {
	margin: 0 0 12px;
	font-size: var(--lc-text-section-heading);
}

/* First name and last name share a line; everything else takes the full width. */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 12px;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .notes {
	grid-column: 1 / -1;
}

.woocommerce-checkout #order_review_heading {
	margin: 0;
}

/* The product list in the summary. */
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-checkout-review-order-table thead {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

/* Chosen colour and size under each item: one small line, "Colour: Navy",
   like on the bag page (the browser default put the value on its own,
   indented line). */
.woocommerce-checkout-review-order-table .variation {
	margin: 4px 0 0;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-checkout-review-order-table .variation dt,
.woocommerce-checkout-review-order-table .variation dd,
.woocommerce-checkout-review-order-table .variation p {
	display: inline;
	margin: 0;
}

/* "Additional information" starts a new section, so give it room above. */
.woocommerce-checkout .woocommerce-additional-fields {
	margin-top: 28px;
}

/* Ways to pay. */
.woocommerce-checkout #payment {
	margin-top: 14px;
}

.woocommerce-checkout .wc_payment_methods {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout .wc_payment_methods li {
	padding: 12px 0;
	border-bottom: var(--lc-border);
}

.woocommerce-checkout .wc_payment_methods label {
	font-weight: var(--lc-weight-semibold);
}

/* The note under a chosen way to pay. */
.woocommerce-checkout .payment_box {
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: var(--lc-radius);
	background: var(--lc-pale-blue);
	font-size: var(--lc-text-small);
}

.woocommerce-checkout .payment_box p {
	margin: 0;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 12px;
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-checkout #place_order {
	display: flex;
	width: 100%;
}

/* "Have a coupon?" form. */
.woocommerce-checkout .checkout_coupon {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

@media (min-width: 900px) {
	.woocommerce-checkout form.checkout {
		grid-template-columns: minmax(0, 1fr) 400px;
		/* Row 1 is only as tall as "Your order"; row 2 takes up the rest of the tall form. */
		grid-template-rows: auto 1fr;
		align-items: start;
		gap: 12px 48px;
	}

	.woocommerce-checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		grid-column: 2;
	}
}

/* --- Order received ---------------------------------------------------------------- */

.woocommerce-order .woocommerce-thankyou-order-received {
	font-size: 18px;
	font-weight: var(--lc-weight-bold);
}

/* Order number, date, total and payment, as a tidy list. */
.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0 0 24px;
	padding: 16px;
	border-radius: var(--lc-radius-card);
	background: var(--lc-pale-blue);
	list-style: none;
}

.woocommerce-order-overview li {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
}

.woocommerce-order-overview strong {
	display: block;
	color: var(--lc-ink);
	font-size: var(--lc-text-body);
}

.woocommerce-order-details th,
.woocommerce-order-details td,
.woocommerce-account .shop_table th,
.woocommerce-account .shop_table td {
	padding: 10px 0;
	border-bottom: var(--lc-border);
}

.woocommerce-order-details h2,
.woocommerce-customer-details h2,
.woocommerce-account .woocommerce h2 {
	font-size: var(--lc-text-section-heading);
}

.woocommerce-customer-details address,
.woocommerce-account address {
	font-style: normal;
	line-height: 1.6;
}

/* --- Account --------------------------------------------------------------------------
   Signed out: a sign-in form. Signed in: a menu, then the chosen section. */

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
	max-width: 420px;
}

.woocommerce-account .lost_password {
	margin-top: 12px;
	font-size: var(--lc-text-small);
}

/* The account menu: a row of chips on phones. */
.woocommerce-MyAccount-navigation ul {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	margin: 0 calc(var(--lc-page-padding) * -1) 20px;
	padding: 2px var(--lc-page-padding) 8px;
	list-style: none;
}

.woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	height: var(--lc-tap-size);
	padding: 0 14px;
	border: var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-white);
	color: var(--lc-ink);
	font-weight: var(--lc-weight-semibold);
	text-decoration: none;
	white-space: nowrap;
}

/* The section being viewed. */
.woocommerce-MyAccount-navigation .is-active a {
	padding: 0 13px;
	border: 2px solid var(--lc-blue);
	background: var(--lc-pale-blue);
	color: var(--lc-blue);
}

/* Orders list on phones: each order becomes a small card with labelled lines. */
@media (max-width: 899px) {
	.woocommerce-orders-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.woocommerce-orders-table,
	.woocommerce-orders-table tbody,
	.woocommerce-orders-table tr {
		display: block;
	}

	.woocommerce-orders-table tr {
		margin-bottom: 12px;
		padding: 6px 14px;
		border: var(--lc-border);
		border-radius: var(--lc-radius-tile);
	}

	/* Label on the left (from ::before below), value on the right, kept as one piece of text. */
	.woocommerce-account .woocommerce-orders-table :is(th, td) {
		display: block;
		min-height: var(--lc-tap-size);
		padding: 10px 0;
		line-height: 1.6;
		text-align: right;
	}

	.woocommerce-orders-table tr > :last-child {
		border-bottom: 0;
	}

	/* WooCommerce stores each column's name on the cell; show it as the line's label. */
	.woocommerce-orders-table :is(th, td)::before {
		content: attr(data-title);
		float: left;
		margin-right: 12px;
		color: var(--lc-muted);
		font-size: var(--lc-text-small);
		font-weight: var(--lc-weight-regular);
	}
}

.woocommerce-Addresses {
	display: grid;
	gap: 20px;
}

/* "Password change" group on Account details: a light card instead of the browser's frame. */
.woocommerce-account fieldset {
	margin: 8px 0 18px;
	padding: 16px;
	border: var(--lc-border);
	border-radius: var(--lc-radius-tile);
}

.woocommerce-account legend {
	padding: 0 6px;
	font-weight: var(--lc-weight-bold);
}

/* WooCommerce's "show password" button sits inside the right end of the box. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .password-input {
	position: relative;
	display: block;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .password-input .input-text {
	padding-right: 52px;
}

:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .show-password-input {
	position: absolute;
	top: 50%;
	right: 4px;
	width: var(--lc-tap-size);
	height: var(--lc-tap-size);
	padding: 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center / 20px;
	cursor: pointer;
	transform: translateY(-50%);
}

/* While the password is shown, the eye turns Blue. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .show-password-input.display-password {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3FA0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* The hint under a field, for example under "Display name". */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .form-row em,
.woocommerce-account .form-row + span em {
	color: var(--lc-muted);
	font-size: var(--lc-text-small);
	font-style: normal;
}

@media (min-width: 900px) {
	/* Menu on the left, content on the right. */
	.logged-in.woocommerce-account .lc-main .woocommerce {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr);
		align-items: start;
		gap: 0 48px;
	}

	.logged-in.woocommerce-account .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}

	.woocommerce-MyAccount-navigation ul {
		flex-direction: column;
		overflow: visible;
		margin: 0;
		padding: 0;
	}

	.woocommerce-MyAccount-navigation a {
		display: flex;
	}

	.woocommerce-Addresses {
		grid-template-columns: 1fr 1fr;
	}
}

/* --- Page not found --------------------------------------------------------------------- */

.lc-notfound-search {
	max-width: 420px;
	margin: 16px 0 4px;
}

/* --- Order on WhatsApp (product page) -------------------------------------------------
   A second button under "Add to bag": white with a green edge, so the blue
   "Add to bag" stays the main action. Green tells shoppers "WhatsApp" at a
   glance; the text stays Ink so it is easy to read. */

:root {
	--lc-whatsapp: #1F9D55;       /* WhatsApp-style green, dark enough to see on white */
	--lc-whatsapp-tint: #E9F7EF;  /* Soft green for hover */
}

.lc-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	margin-top: 10px;
	padding: 0 16px;
	border-radius: 8px;
	background: var(--lc-white);
	box-shadow: inset 0 0 0 1.5px var(--lc-whatsapp);
	color: var(--lc-ink);
	font-size: 15px;
	font-weight: var(--lc-weight-bold);
	text-decoration: none;
	transition: background-color 0.25s var(--lc-ease);
}

.lc-whatsapp .lc-icon {
	flex: none;
	color: var(--lc-whatsapp);
}

.lc-whatsapp:hover {
	background: var(--lc-whatsapp-tint);
	color: var(--lc-ink);
}

/* Room before the info rows below. */
.single-product .lc-whatsapp + .lc-info {
	margin-top: 16px;
}

/* The round version in the sticky bar on phones: icon only, 48px to tap. */
.lc-whatsapp--round {
	flex: none;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
}


/* ==========================================================================
   15. Performance
   ========================================================================== */

/*
 * The word "සිංහල" in the top strip is drawn with the phone's own Sinhala
 * font instead of Yaldevi. Otherwise every English page would download the
 * 99 KB Sinhala font file just for this one word. Phones in Sri Lanka come
 * with a Sinhala font, so the word still shows correctly.
 * Pages in Sinhala (once the language switch is built) still use Yaldevi.
 */
.lc-lang__item[lang="si"] {
	font-family: 'Noto Sans Sinhala', 'Iskoola Pota', system-ui, sans-serif;
}

/*
 * Stop the homepage from being wider than the phone.
 *
 * Sale prices carry hidden text for screen readers ("Original price was:
 * Rs 3,900."). WooCommerce positions that text relative to the nearest
 * "positioned" box around it. Product tiles were not positioned, so the
 * text was measured from the whole page and escaped the sideways rows it
 * sits in. Tiles far to the right in a row (off screen until swiped to)
 * stretched the page to 828px on a 375px phone, so a sideways swipe on the
 * banner dragged the whole page into blank white space.
 *
 * Making each tile, and each sideways row, a positioned box keeps all such
 * hidden text inside its own row, where the row's scrolling hides it.
 * Nothing visible changes.
 */
.lc-grid > .product,
.lc-cats,
.lc-promos,
.lc-grid--row,
.lc-grid--scroll,
.lc-chips__list {
	position: relative;
}

/*
 * Banner motion clip (desktop only, see assets/js/main.js).
 * It sits exactly over the still photo, invisible until it is playing, then
 * fades in, so the switch from photo to motion cannot be seen.
 */
.lc-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	opacity: 0;
	transition: opacity 1.2s var(--lc-ease);
	pointer-events: none;
}

.lc-hero__video.is-playing {
	opacity: 1;
}


/* ==========================================================================
   16. Banner: floating arch (option B, chosen 17 Nov 2026)
   A bigger arch photo on phones that gently floats, two outline arches that
   breathe behind it, and a soft glint of light that passes over the photo
   every few seconds. Costs no extra download: it reuses the banner photo.
   ========================================================================== */

/*
 * Phone layout. The heading runs across the top; under it, the line of text
 * and the two buttons (stacked) sit on the left, and the arch photo stands on
 * the right, resting on the bottom edge of the banner.
 *
 *   [ Dressing Piliyandala      ]
 *   [ for over ten years        ]
 *   [ Everyday wear...  |  /‾‾\ ]
 *   [ [Shop new arrivals]| |    | ]
 *   [ [See the sale]    | |    | ]
 */
@media (max-width: 899px) {
	.lc-hero__card {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"title   title"
			"lead    art"
			"actions art";
		column-gap: 14px;
		padding: 22px 16px 0;
	}

	.lc-hero__title {
		margin-bottom: 10px;
	}

	.lc-hero__lead {
		align-self: start;
		font-size: 14px;
	}

	.lc-hero__actions {
		flex-direction: column;
		align-items: stretch;
		align-self: end;
		gap: 8px;
		margin: 16px 0 20px;
	}

	.lc-hero__actions .lc-btn {
		flex: none;
		min-height: 44px;
		padding: 0 10px;
	}

	/* The arch: about half the banner's width, standing on the bottom edge. */
	.lc-hero__art {
		align-self: end;
		justify-self: center;
		width: 100%;
		max-width: 190px;
		aspect-ratio: 10 / 12.5;
		margin-top: 18px;
	}

	.lc-hero__arch-back {
		inset: -9px -9px 0;
	}
}

/* The second, fainter outline arch, one step further out. */
.lc-hero__arch-back--outer {
	inset: -20px -20px 0;
	border-color: rgb(27 63 160 / 0.16);
}

@media (min-width: 900px) {
	.lc-hero__arch-back--outer {
		inset: -32px -32px 0;
	}
}

/* The glint: a soft diagonal band of light, parked off to the left. */
.lc-hero__glint {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / 0.45) 50%, transparent 65%);
	transform: translateX(-130%);
	pointer-events: none;
}

/* The photo and the motion clip sit under the glint. */
.lc-hero__arch img,
.lc-hero__video {
	z-index: 1;
}

@keyframes lc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

@keyframes lc-breathe {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.45; transform: scale(1.03); }
}

@keyframes lc-slow-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}

@keyframes lc-glint {
	0%, 72% { transform: translateX(-130%); }
	100% { transform: translateX(130%); }
}

/*
 * The movement. Each item first plays its page-load step from section 12,
 * then hands over to its slow, endless movement once that step has finished,
 * so the two never fight. Visitors who asked for less motion see none of it.
 */
@media (prefers-reduced-motion: no-preference) {
	.lc-hero__art {
		animation: lc-float 6s ease-in-out 1.4s infinite;
	}

	.lc-hero__arch img {
		animation:
			lc-settle 1.7s var(--lc-ease) 0.15s both,
			lc-slow-zoom 12s ease-in-out 1.85s infinite alternate;
	}

	.lc-hero__arch-back {
		animation:
			lc-outline-in 0.9s var(--lc-ease) 0.75s both,
			lc-breathe 6s ease-in-out 1.65s infinite;
	}

	/* The outer outline breathes half a beat later, so the two ripple. */
	.lc-hero__arch-back--outer {
		animation:
			lc-outline-in 0.9s var(--lc-ease) 0.9s both,
			lc-breathe 6s ease-in-out 4.65s infinite;
	}

	.lc-hero__glint {
		animation: lc-glint 7s ease-in-out 2s infinite;
	}
}


/* ==========================================================================
   17. Flash sale: brand blue card (chosen 17 Nov 2026)
   The flash sale is now a rounded card in the shop's blue, like the feature
   band, with yellow kept for the sale parts: the title, the seconds box and a
   swinging sale tag. These rules replace the look of the black band from
   section 9; that section still sets the layout grid.
   ========================================================================== */

.lc-flash {
	padding: 6px 0;
	background: none;
	color: var(--lc-white);
}

/* The card itself. */
.lc-flash__inner {
	position: relative;
	overflow: hidden;
	padding: 18px 0 16px 16px; /* No right padding: the tiles run off the edge to show they scroll. */
	border-radius: var(--lc-radius-card);
	/* A warm yellow glow in the top right corner over the blue. */
	background:
		radial-gradient(90% 70% at 100% 0%, rgb(255 210 31 / 0.18), transparent 60%),
		linear-gradient(115deg, var(--lc-blue-dark), var(--lc-blue) 60%, #3157C4);
	box-shadow: 0 16px 30px -16px rgb(27 63 160 / 0.6);
}

.lc-flash__head,
.lc-countdown,
.lc-flash__tiles,
.lc-flash__link {
	position: relative;
	z-index: 2; /* Above the tag. */
}

/* "Live now" with a small yellow light. */
.lc-flash__live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	padding: 3px 10px 3px 8px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.14);
	font-size: 11px;
	font-weight: var(--lc-weight-bold);
}

.lc-flash__live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lc-sale-yellow);
}

.lc-flash__title {
	text-transform: none; /* "Flash sale", sentence case like the rest of the site. */
	letter-spacing: 0;
}

.lc-flash__ends,
.lc-countdown__label {
	color: var(--lc-footer-text);
}

/* Countdown boxes: frosted white on the blue... */
.lc-countdown__num {
	overflow: hidden; /* Hides the digits while they slide in. */
	min-width: 40px;
	height: 42px;
	border-radius: 8px;
	background: rgb(255 255 255 / 0.14);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
	color: var(--lc-white);
	font-size: 20px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* ...and the seconds box in sale yellow. */
.lc-countdown__unit:last-child .lc-countdown__num {
	background: var(--lc-sale-yellow);
	box-shadow: none;
	color: var(--lc-sale-black);
}

.lc-countdown__num > span {
	display: block;
}

.lc-countdown__boxes {
	gap: 6px;
}

.lc-flash__link:hover {
	color: var(--lc-sale-yellow);
}

/* The sale tag hangs from the card's top edge, beside the title on phones. */
.lc-flash__tag {
	position: absolute;
	z-index: 1;
	top: -12px;
	left: 132px;
	width: 30px;
	aspect-ratio: 96 / 216;
	background: url("../images/sale-tag.png") no-repeat top center / contain;
	transform-origin: 50% 4%; /* Swings from the loop of its cord. */
	pointer-events: none;
}

@media (min-width: 900px) {
	.lc-flash {
		padding: 10px 0;
	}

	.lc-flash__inner {
		padding: 32px;
	}

	.lc-countdown__num {
		min-width: 46px;
		height: 48px;
		font-size: 22px;
	}

	.lc-countdown__boxes {
		gap: 8px;
	}

	/* On desktop the tag hangs over the left column, to the right of the title. */
	.lc-flash__tag {
		top: -10px;
		left: 236px;
		width: 44px;
	}
}

@keyframes lc-swing {
	0%, 100% { transform: rotate(-7deg); }
	50% { transform: rotate(7deg); }
}

@keyframes lc-pulse {
	from { box-shadow: 0 0 0 0 rgb(255 210 31 / 0.6); }
	to { box-shadow: 0 0 0 9px rgb(255 210 31 / 0); }
}

@keyframes lc-roll {
	from { opacity: 0.2; transform: translateY(100%); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.lc-flash__tag {
		animation: lc-swing 3.2s ease-in-out infinite;
	}

	.lc-flash__live::before {
		animation: lc-pulse 1.6s ease-out infinite;
	}

	/* A number that just changed slides up into its box. */
	.lc-countdown__num > .is-tick {
		animation: lc-roll 0.42s var(--lc-ease);
	}
}

/*
 * Phones: the title fits on one line, so the countdown gets its own row under
 * it, and the sale tag hangs in the free top-right corner of the card.
 *
 *   [ (o) Live now              %  ]
 *   [ Flash sale                   ]
 *   [ Ends in                      ]
 *   [ [01] [12] [03] [32]          ]
 *   [ tile  tile  tile  ->         ]
 *   [ See all sale items           ]
 */
@media (max-width: 899px) {
	.lc-flash__inner {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"head"
			"timer"
			"tiles"
			"link";
		gap: 12px;
	}

	.lc-countdown {
		justify-self: start;
	}

	.lc-flash__tag {
		top: -10px;
		left: auto;
		right: 24px;
		width: 34px;
	}
}


/* ==========================================================================
   18. The shop's wordmark (17 Nov 2026)
   "Lady Centre" is now an image cut from the real logo, in place of the
   typed text logo. Its height sets its size; the width follows.
   ========================================================================== */

.lc-logo--wordmark {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.lc-logo--wordmark img {
	display: block;
	width: auto;
	height: 26px;
}

.lc-footer__logo img {
	display: block;
	width: auto;
	height: 30px;
}

@media (min-width: 900px) {
	.lc-logo--wordmark img {
		height: 32px;
	}
}


/* ==========================================================================
   19. Sinhala pages
   Sinhala letters carry vowel signs above and below the line, so they need
   more room than English. These rules only apply on Sinhala pages (the
   <html> tag says lang="si"), so English pages are not touched.
   ========================================================================== */

/*
 * Headings: the English design packs big titles tightly (line height about
 * 1.05). In Sinhala that makes the marks of one line touch the next, so
 * every heading gets at least 1.3. Weight 600 instead of 700: Yaldevi's
 * bold is much heavier than Montserrat's, and 600 matches the English look.
 */
html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3,
html[lang="si"] h4,
html[lang="si"] .lc-hero__title,
html[lang="si"] .lc-promo__title,
html[lang="si"] .lc-flash__title {
	line-height: 1.3;
	font-weight: var(--lc-weight-semibold);
	letter-spacing: 0; /* Spacing tuned for Latin letters breaks Sinhala joins. */
}

/*
 * The banner heading is the biggest text on the site. Sinhala words are
 * long and cannot be split, so it is drawn a little smaller to stay at two
 * or three lines on a phone.
 */
html[lang="si"] .lc-hero__title {
	font-size: clamp(24px, 6.6vw, 46px);
}

/* Buttons and links: let a long Sinhala label wrap instead of being cut. */
html[lang="si"] .button,
html[lang="si"] button,
html[lang="si"] .lc-btn {
	white-space: normal;
	line-height: 1.35;
}

/* Top strip messages are one line by design; a hair smaller so they fit. */
html[lang="si"] .lc-topstrip__message {
	font-size: 12px;
}


/* ==========================================================================
   20. Sideways rows without a scroll bar
   The rows that slide sideways (category circles, promo cards, product
   rows, filter chips, account menu) still scroll by swipe, trackpad or
   shift + mouse wheel, but the grey bar under them is hidden. The cut-off
   item at the edge already shows there is more to see.
   ========================================================================== */

.lc-chips .lc-chips__list,
.lc-grid--scroll,
.lc-cats,
.lc-promos,
.lc-grid--row,
.woocommerce-MyAccount-navigation ul {
	scrollbar-width: none; /* Firefox, and Chrome/Edge 121+ */
}

.lc-chips .lc-chips__list::-webkit-scrollbar,
.lc-grid--scroll::-webkit-scrollbar,
.lc-cats::-webkit-scrollbar,
.lc-promos::-webkit-scrollbar,
.lc-grid--row::-webkit-scrollbar,
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
	display: none; /* Safari and older Chrome */
}
