/* LD Embroidery — main styles */

:root {
	/* Brand colours come from the Vector Emb logo: blue (primary), red (accent) and near-black. */
	--blue: #0b73bd;
	--blue-dark: #085a95;
	--blue-tint: #e6f1fa;
	--blue-soft: #f3f8fc;
	--accent: #be1c2b;
	--accent-dark: #9a1623;
	--accent-tint: #fbeaec;
	--success: #1f8a4c;
	--success-tint: #e8f5ed;
	--navy: #101729;
	--footer: #0d2a47;
	--white: #ffffff;
	--gray-bg: #f5f5f5;
	--border: #e5e5e5;
	--muted: #4b5368;
	--star: #f5b301;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 2px 10px rgba(16, 23, 41, 0.06);
	--shadow-md: 0 10px 30px rgba(16, 23, 41, 0.1);
	--max-width: 1240px;
	--font: "Inter", Arial, "Helvetica Neue", system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding-block: 80px; }
.text-center { text-align: center; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px;
	border: 2px solid transparent; border-radius: 999px;
	font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--green { background: var(--blue); color: var(--white); }
.btn--green:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 8px 18px rgba(11, 115, 189, 0.28); }

.btn--red { background: var(--blue); color: var(--white); }
.btn--red:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 10px 22px rgba(11, 115, 189, 0.3); }

.btn--outline-green { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn--outline-green:hover { background: var(--blue-tint); color: var(--blue-dark); border-color: var(--blue-dark); }

.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--white); color: var(--blue-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); }

.btn--lg { min-height: 60px; padding: 12px 28px; font-size: 17px; border-radius: 12px; }
.btn--block { width: 100%; }

.btn--stacked { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 9px; padding-bottom: 9px; }
.btn__small { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.88; }
.btn__main { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.btn--stacked:hover .icon { transform: translateX(3px); }
.btn--stacked .icon { transition: transform 0.2s var(--ease); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	padding: 14px 0;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
}
.site-header .container { max-width: 1320px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-bar {
	position: relative;
	display: flex; align-items: center; gap: 24px;
	min-height: 88px; padding: 10px 14px 10px 22px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(16, 23, 41, 0.08);
}

.site-branding { flex: none; }
.site-branding .custom-logo-link { display: block; }
.site-header .site-branding .custom-logo { width: auto; max-width: none; height: auto; max-height: 66px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
/* WooCommerce's stylesheet sets .woocommerce img { height: auto; max-width: 100% }, so keep this selector more specific. */
.site-header .brand__logo { display: block; width: auto; max-width: none; height: 66px; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a {
	display: block; padding: 10px 13px; border-radius: 8px;
	font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap;
	transition: color 0.2s, background-color 0.2s;
}
.site-nav .menu a:hover { color: var(--blue); background: var(--blue-soft); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--blue); }
.site-nav__extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.turnaround-badge {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 12px; border-radius: 999px;
	background: var(--blue-tint); color: var(--blue-dark);
	font-size: 13px; font-weight: 700; white-space: nowrap;
}
.turnaround-badge .icon { width: 16px; height: 16px; }

.icon-link {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	color: var(--navy); transition: background-color 0.2s, color 0.2s;
}
.icon-link:hover { background: var(--gray-bg); color: var(--blue); }
.icon-link .icon { width: 24px; height: 24px; }

.cart-count {
	position: absolute; top: 3px; right: 1px;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--accent); color: var(--white);
	font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
	border: 2px solid var(--white); box-sizing: content-box;
}
.cart-count[data-count="0"] .cart-count__num { display: none; }
.cart-count[data-count="0"] { display: none; }

.header-cta { padding-left: 24px; padding-right: 24px; }

.menu-toggle {
	display: none; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--border); border-radius: 10px;
	background: var(--white); color: var(--navy); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

@media (max-width: 1399px) {
	.turnaround-badge--desktop { display: none; }
	.site-nav .menu a { padding: 10px 10px; }
	.header-bar { gap: 16px; }
}

@media (max-width: 1199px) {
	.menu-toggle { display: inline-grid; }
	.header-cta, .icon-link--account { display: none; }
	.header-actions { margin-left: auto; gap: 6px; }

	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: calc(100% + 8px);
		flex-direction: column; gap: 16px;
		padding: 16px;
		background: var(--white); border: 1px solid var(--border); border-radius: 16px;
		box-shadow: var(--shadow-md);
		max-height: calc(100vh - 120px); overflow-y: auto;
	}
	.site-nav.is-open { display: flex; animation: ldemb-drop 0.25s var(--ease); }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav .menu a { padding: 12px 14px; font-size: 16px; }
	.site-nav__extras {
		display: flex; flex-direction: column; align-items: stretch; gap: 12px;
		padding-top: 16px; border-top: 1px solid var(--border);
	}
	.site-nav__extras .turnaround-badge { align-self: flex-start; }
	.site-nav__account {
		display: flex; align-items: center; gap: 10px; padding: 8px 14px;
		color: var(--navy); font-weight: 600; text-decoration: none;
	}
	.site-nav__account .icon { width: 20px; height: 20px; }
	.site-nav__extras .btn { min-height: 50px; font-size: 16px; }
}

@media (max-width: 480px) {
	.site-header { padding: 10px 0; }
	.header-bar { min-height: 68px; padding: 8px 8px 8px 14px; gap: 10px; }
	.site-header .site-branding .custom-logo { max-height: 48px; }
	.site-header .brand__logo { height: 48px; }
}

@media (max-width: 359px) {
	.site-header .brand__logo, .site-header .site-branding .custom-logo { height: 42px; max-height: 42px; }
	.container { padding: 0 16px; }
	.header-bar { padding-left: 10px; gap: 6px; }
	.header-actions { gap: 2px; }
}

@keyframes ldemb-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex; align-items: center;
	min-height: clamp(480px, 38vw, 560px);
	overflow: hidden;
	background: var(--white);
}

.hero__media {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: 56%;
	animation: ldemb-reveal 1.1s var(--ease) both;
}
.hero__media::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 9%, rgba(255, 255, 255, 0.22) 26%, rgba(255, 255, 255, 0) 42%);
}

/* ---------- Hero slider (crossfade) ---------- */
.hero-slider__track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slider__dots { position: absolute; right: 24px; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.hero-slider__dot {
	position: relative; width: 12px; height: 12px; padding: 0; border: 2px solid var(--white); border-radius: 999px;
	background: rgba(255, 255, 255, 0.3); box-shadow: 0 1px 5px rgba(16, 23, 41, 0.45); cursor: pointer;
	transition: width 0.3s var(--ease), background-color 0.3s;
}
.hero-slider__dot::before { content: ""; position: absolute; inset: -12px -5px; } /* bigger tap target */
.hero-slider__dot[aria-current="true"] { width: 32px; background: var(--white); }
.hero-slider__dot:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* The container spans the full width over the slider; only the text block itself should catch the pointer. */
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__content { max-width: 580px; padding: 56px 0 64px; pointer-events: auto; }

.hero__title { margin: 0 0 20px; font-weight: 800; letter-spacing: -0.025em; }
.hero__line {
	display: block;
	max-width: 10em;
	font-size: clamp(34px, 3.7vw, 54px); line-height: 1.08; color: var(--navy);
}
.hero__price {
	display: block; margin-top: 10px;
	font-size: clamp(48px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.03em; color: var(--blue);
}
.hero__text {
	max-width: 500px; margin: 0 0 30px;
	font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__line, .hero__price, .hero__text, .hero__actions { animation: ldemb-rise 0.8s var(--ease) both; }
.hero__line:nth-child(2) { animation-delay: 0.08s; }
.hero__price { animation-delay: 0.16s; }
.hero__text { animation-delay: 0.26s; }
.hero__actions { animation-delay: 0.36s; }

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

@media (max-width: 1199px) {
	.hero__media { width: 58%; }
	.hero__media::before {
		background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 16%, rgba(255, 255, 255, 0.3) 38%, rgba(255, 255, 255, 0) 58%);
	}
	.hero__content { max-width: 460px; }
}

@media (max-width: 860px) {
	.hero { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__inner { order: 1; }
	.hero__content { max-width: none; padding: 28px 0 24px; }
	.hero__media {
		position: relative; order: 2; width: auto; height: clamp(240px, 56vw, 420px);
		margin: 0 24px; border-radius: var(--radius); overflow: hidden;
	}
	.hero__media::before { display: none; }
	.hero-slider__dots { right: 14px; bottom: 12px; }
	.hero__text { max-width: 560px; }
}

@media (max-width: 480px) {
	.hero__media { margin: 0 16px; }
	.hero__actions { flex-direction: column; }
	.hero__actions .btn { width: 100%; }
	.btn--stacked { align-items: center; }
}

/* ---------- Trust badges ---------- */
.trust { padding: 28px 0 8px; }
.trust__list {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
	margin: 0; padding: 0; list-style: none;
}
.trust__item {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 60px; padding: 12px 16px;
	border: 1px solid var(--border); border-radius: 12px; background: var(--white);
	font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.3;
}
.trust__icon { display: inline-grid; place-items: center; color: var(--blue); }
.trust__icon .icon { width: 24px; height: 24px; }
.trust__stars { display: inline-flex; gap: 1px; color: var(--star); }
.trust__stars .icon { width: 15px; height: 15px; stroke-width: 1; }
.trust__tagline { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

@media (max-width: 1023px) {
	.trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 400px) {
	.trust__item { flex-direction: column; text-align: center; gap: 6px; font-size: 14px; }
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-title { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.section-subtitle { margin: 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }

.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.service-card {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 36px 24px 32px;
	background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); text-align: center;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.service-card::after {
	content: ""; position: absolute; left: 50%; bottom: -1px;
	width: 56px; height: 3px; border-radius: 3px 3px 0 0;
	transform: translateX(-50%); transition: width 0.25s var(--ease);
}
.service-card--red::after { background: var(--blue); }
.service-card--green::after { background: var(--accent); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::after { width: 96px; }

.service-card__icon {
	display: grid; place-items: center;
	width: 88px; height: 88px; margin-bottom: 20px; border-radius: 50%;
}
.service-card--red .service-card__icon { color: var(--blue); background: var(--blue-tint); }
.service-card--green .service-card__icon { color: var(--accent); background: var(--accent-tint); }
.service-card__icon .icon { width: 52px; height: 52px; stroke-width: 1.8; }

.service-card__title { margin-bottom: 10px; font-size: 20px; font-weight: 800; color: var(--navy); }
.service-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1023px) {
	.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 767px) {
	.section { padding-block: 56px; }
	.section-head { margin-bottom: 32px; }
}
@media (max-width: 560px) {
	.services__grid { gap: 14px; }
	.service-card { padding: 26px 14px 24px; }
	.service-card__icon { width: 68px; height: 68px; margin-bottom: 14px; }
	.service-card__icon .icon { width: 40px; height: 40px; }
	.service-card__title { font-size: 17px; }
	.service-card__text { font-size: 14px; }
}
@media (max-width: 374px) {
	.services__grid { grid-template-columns: 1fr; }
}

/* ---------- Products (homepage) ----------
 * Layout and cards are shared with the shop page: see assets/css/shop.css (.shop-layout, .shop-main, ul.products). */
.home-products { background: var(--gray-bg); padding-top: 24px; }
.home-products .shop-layout { padding-top: 0; padding-bottom: 0; }
.home-products .shop-head { margin-bottom: 24px; }
.shop-head__text { margin: 0; color: var(--muted); font-size: 16px; }
.products-hint { margin: 0; padding: 16px 20px; border: 2px dashed #d4d7de; border-radius: var(--radius-sm); background: var(--white); color: var(--muted); text-align: center; }
.products__more { margin: 40px 0 0; text-align: center; }

/* ---------- Offer ---------- */
.offer { padding: 0 0 72px; background: var(--gray-bg); }
.offer__banner {
	display: flex; align-items: center; justify-content: space-between; gap: 20px 32px;
	padding: 22px 22px 22px 32px;
	background: var(--blue); color: var(--white); border-radius: var(--radius);
	box-shadow: 0 12px 30px rgba(11, 115, 189, 0.25);
}
.offer__text { margin: 0; font-size: clamp(16px, 1.45vw, 19px); font-weight: 500; line-height: 1.45; }
.offer__text strong { font-weight: 800; }
.offer__banner .btn { flex: none; min-height: 50px; padding: 12px 26px; font-size: 16px; font-weight: 700; }
.offer__formats {
	margin: 18px 0 0; text-align: center;
	font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted);
}
.offer__formats span { color: var(--navy); font-weight: 700; }

@media (max-width: 767px) {
	.offer { padding-bottom: 56px; }
	.offer__banner { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
	.offer__banner .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9cfdc; font-size: 15px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: #a9d1f0; text-decoration: underline; }

.footer-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 32px;
	padding: 26px 0;
}
.footer-copy { margin: 0; color: var(--white); font-weight: 600; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 18px; height: 18px; color: #7db9e8; }

.footer-payments { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.payment-chip {
	display: inline-flex; align-items: center; gap: 4px;
	min-height: 32px; padding: 4px 10px; border-radius: 6px;
	background: var(--white); color: var(--navy); font-size: 13px; font-weight: 700;
}
.payment-chip img { max-height: 22px; width: auto; }

.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0 0 24px; list-style: none; font-size: 14px; }

@media (max-width: 860px) {
	.footer-bar { flex-direction: column; text-align: center; padding: 32px 0; }
	.footer-contact { flex-direction: column; align-items: center; }
	.footer-payments { justify-content: center; }
}

/* ---------- Generic content (non-home templates) ---------- */
.page-title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; }
.entry-content > * + * { margin-top: 1em; }
.entry-meta { color: var(--muted); font-size: 14px; }
.entry-thumb { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }
.page-content { padding-block: 64px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-title { font-size: 19px; margin: 18px 20px 8px; }
.post-card-title a { color: var(--navy); text-decoration: none; }
.post-card-excerpt { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--navy); }
.nav-links .current { background: var(--blue); border-color: var(--blue); color: var(--white); }

.woocommerce-area { padding-block: 40px 72px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-slide { transition: none; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
		animation-delay: 0s !important; transition-duration: 0.01ms !important;
	}
	.btn:hover, .service-card:hover { transform: none; }
}
