/* =========================================================================
   AnyPrint theme
   Brand colours come from the AnyPrint logo: orange, blue and slate.
   ========================================================================= */

:root {
	--orange: #f07f1d;
	--orange-dark: #d4680a;
	--orange-soft: #fff1e4;
	--blue: #1f8fd6;
	--blue-dark: #1371ad;
	--blue-soft: #e8f4fc;
	--ink: #1b2130;
	--ink-2: #3a4254;
	--muted: #5f6879;
	--line: #e4e7ec;
	--paper: #faf7f2;
	--white: #ffffff;

	--font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(27, 33, 48, .06), 0 8px 24px rgba(27, 33, 48, .07);
	--shadow-lg: 0 2px 4px rgba(27, 33, 48, .06), 0 18px 48px rgba(27, 33, 48, .12);
	--wrap: 1180px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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; padding: 10px 16px;
	background: var(--ink); color: var(--white); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
	white-space: nowrap;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 2px solid transparent; border-radius: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--orange-soft); color: var(--ink); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar-contact { display: flex; gap: 22px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { flex: 0 0 auto; }
.brand .custom-logo { max-height: 56px; width: auto; }
.brand-text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 22px; line-height: 1; }
.brand-text strong { font-weight: 800; }
.brand-mark {
	width: 32px; height: 32px; transform: rotate(45deg); border-radius: 6px;
	background: conic-gradient(from 45deg, var(--orange) 0 25%, var(--blue) 0 50%, #8a94a6 0 75%, var(--orange-dark) 0);
}

.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; flex-wrap: nowrap; gap: 2px; }
.main-nav > ul > li { white-space: nowrap; }
.main-nav a {
	display: block; padding: 8px 12px; border-radius: 8px;
	color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ink); background: var(--paper); }
.main-nav li { position: relative; }
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.basket { position: relative; display: inline-flex; padding: 8px; color: var(--ink); border-radius: 8px; }
.basket:hover { background: var(--paper); color: var(--ink); }
.basket-count {
	position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--orange); color: var(--white);
	font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.nav-toggle-bar { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-open .nav-toggle-bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; padding: 72px 0 88px;
	background:
		radial-gradient(circle at 1px 1px, rgba(27, 33, 48, .09) 1px, transparent 0) 0 0 / 22px 22px,
		linear-gradient(180deg, var(--white), var(--paper));
}
.hero::after {
	content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
	background: radial-gradient(circle, rgba(240, 127, 29, .16), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.kicker {
	display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
	background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; font-size: 14px;
}
.hero-title { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.hero-text { font-size: 19px; color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
	content: ""; width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
	background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Hero illustration: a fan of printed sheets, drawn in CSS */
.hero-art { position: relative; height: 440px; }
.sheet {
	position: absolute; display: flex; flex-direction: column; gap: 10px; padding: 22px;
	background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.sheet--back { width: 46%; height: 70%; left: 4%; top: 12%; transform: rotate(-11deg); }
.sheet--mid { width: 50%; height: 78%; left: 24%; top: 6%; transform: rotate(-3deg); }
.sheet--front { width: 54%; height: 86%; right: 2%; top: 2%; transform: rotate(6deg); }
.sheet-band { height: 34%; margin: -22px -22px 6px; border-radius: 10px 10px 0 0; background: var(--blue); }
.sheet-photo { height: 30%; border-radius: 6px; background: linear-gradient(135deg, var(--orange-soft), #ffd9b8); }
.sheet-photo--blue { background: linear-gradient(135deg, var(--blue-soft), #b9dcf5); height: 34%; }
.sheet-heading { height: 26px; width: 80%; border-radius: 4px; background: var(--ink); }
.sheet-line { height: 9px; border-radius: 4px; background: var(--line); }
.sheet-line.short { width: 60%; }
.sheet-button { margin-top: auto; height: 34px; width: 55%; border-radius: 8px; background: var(--orange); }
.sheet-tag {
	position: absolute; top: -12px; right: 18px; padding: 4px 10px; border-radius: 999px;
	background: var(--ink); color: var(--white); font: 600 12px/1.4 var(--font-head);
}
.swatches { position: absolute; left: 6%; bottom: 0; display: flex; gap: 8px; padding: 10px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); }
.swatches span { width: 22px; height: 22px; border-radius: 50%; }
.swatches span:nth-child(1) { background: #00a3e0; }
.swatches span:nth-child(2) { background: #e6007e; }
.swatches span:nth-child(3) { background: #ffed00; }
.swatches span:nth-child(4) { background: #1b1b1b; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.section-sub { font-size: 18px; color: var(--muted); margin: 0; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.product-visual {
	display: flex; align-items: flex-end; justify-content: center; height: 150px; padding-bottom: 18px;
	background:
		radial-gradient(circle at 1px 1px, rgba(27, 33, 48, .08) 1px, transparent 0) 0 0 / 16px 16px,
		var(--paper);
}
.product-card:nth-child(4n+2) .product-visual { background-color: var(--blue-soft); }
.product-card:nth-child(4n+3) .product-visual { background-color: var(--orange-soft); }
.paper {
	position: relative; display: flex; align-items: center; justify-content: center;
	background: var(--white); border-radius: 4px; box-shadow: 0 6px 16px rgba(27, 33, 48, .16);
	transition: transform .2s;
}
.paper::before { content: ""; position: absolute; left: 14%; right: 14%; top: 12%; height: 18%; border-radius: 3px; background: var(--orange); opacity: .85; }
.paper::after { content: ""; position: absolute; left: 14%; right: 30%; bottom: 14%; height: 6%; border-radius: 3px; background: var(--line); }
.product-card:hover .paper { transform: rotate(-4deg) scale(1.04); }
.paper-label { position: relative; top: 8%; font: 800 15px/1 var(--font-head); color: var(--ink); }
.product-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 20px 22px 22px; }
.product-name { font: 700 19px/1.25 var(--font-head); }
.product-size { color: var(--muted); font-size: 14px; }
.product-desc { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.product-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.product-from { color: var(--muted); font-size: 14px; }
.product-from strong { color: var(--ink); font: 800 22px/1 var(--font-head); }
.product-go { color: var(--orange-dark); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* Order / configurator */
.order { background: var(--paper); }
.order .apc-configurator {
	--apc-orange: var(--orange);
	--apc-orange-dark: var(--orange-dark);
	--apc-blue: var(--blue);
	--apc-ink: var(--ink);
	--apc-muted: var(--muted);
	--apc-line: var(--line);
	--apc-soft: var(--orange-soft);
	max-width: none;
	font-family: var(--font-body);
}
.order .apc-step { border-radius: var(--radius); box-shadow: var(--shadow); border-color: transparent; padding: 24px; }
.order .apc-h { font-family: var(--font-head); }
.order .apc-summary-title, .order .apc-total, .order .apc-buy { font-family: var(--font-head); }
.notice-box { padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice-box p:last-child { margin: 0; }
.notice-admin { color: var(--orange-dark); font-size: 15px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px;
	border-radius: 12px; background: var(--ink); color: var(--white); font: 800 19px/1 var(--font-head);
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--orange); }
.step h3 { font-size: 20px; }
.step p { margin: 0; color: var(--ink-2); }

/* Why */
.why { background: var(--ink); color: rgba(255, 255, 255, .85); }
.why .section-title { color: var(--white); }
.why .section-sub { color: rgba(255, 255, 255, .7); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.why-list strong { display: block; margin-bottom: 4px; color: var(--white); font: 700 18px/1.3 var(--font-head); }
.why-list strong::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--orange); }
.why-list li:nth-child(even) strong::before { background: var(--blue); }
.why-list span { font-size: 15px; }

/* Audiences */
.audiences { padding: 64px 0; }
.audience-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 24px 0 0; padding: 0; }
.audience-list li { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; color: var(--ink-2); }

/* CTA */
.cta { padding-top: 0; }
.cta-box {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: 44px 48px; border-radius: 20px; color: var(--white);
	background:
		radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18), transparent 40%),
		linear-gradient(120deg, var(--orange), #f39a3f 55%, var(--orange-dark));
}
.cta-copy { flex: 1 1 380px; }
.cta-copy h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-copy p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .95); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-primary { background: var(--ink); }
.cta .btn-primary:hover { background: #000; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 56px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 0; }
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); }
.prose .alignwide { max-width: 1100px; }
.prose .alignfull { max-width: none; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose input[type=text], .prose input[type=email], .prose input[type=search], .prose textarea,
.shop input[type=text], .shop input[type=email], .shop input[type=tel], .shop input[type=password], .shop textarea, .shop select {
	width: 100%; padding: 11px 14px; border: 1px solid #cfd5de; border-radius: var(--radius-sm); font: inherit; background: var(--white);
}
.prose .wp-block-button__link, .prose button, .prose input[type=submit] {
	padding: 12px 22px; border: 0; border-radius: 10px; background: var(--orange); color: var(--white);
	font: 600 16px/1.2 var(--font-head); cursor: pointer; text-decoration: none;
}
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.post-feature { margin: 0 0 1.5em; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.post-card-body { padding: 22px; }
.post-card-title { font-size: 21px; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a:hover { color: var(--orange-dark); }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.notfound { padding: 120px 0; }
.notfound .prose { margin: 0 auto; }

/* ---------- WooCommerce basics ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button.alt, .woocommerce button.button.alt {
	background: var(--orange) !important; color: var(--white) !important; border-radius: 10px !important;
	font-family: var(--font-head) !important; font-weight: 600 !important; padding: 12px 20px !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover { background: var(--orange-dark) !important; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--orange) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--orange) !important; }
.woocommerce table.shop_table { border-radius: var(--radius); }
.wc-item-meta, .variation { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #121722; color: rgba(255, 255, 255, .7); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.brand--footer .brand-text { color: var(--white); }
.brand--footer .custom-logo { filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 16px; max-width: 30ch; }
.footer-h { font: 700 15px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer-list a:hover { color: var(--orange); }
.footer-legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	margin-top: 48px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.main-nav a { padding: 8px 9px; font-size: 14.5px; }
	.header-inner { gap: 16px; }
}

@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
	}
	.nav-open .main-nav { max-height: 80vh; overflow-y: auto; }
	.main-nav > ul { flex-direction: column; padding: 12px var(--gutter) 20px; }
	.main-nav a { padding: 12px 10px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
}

@media (max-width: 960px) {
	.hero { padding: 48px 0 64px; }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.hero-art { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
	.why-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 720px) {
	body { font-size: 16px; }
	.topbar-note { display: none; }
	.topbar-inner { justify-content: center; }
	.topbar-contact { gap: 16px; font-size: 13px; }
	.header-inner { min-height: 64px; }
	.header-cta { display: none; }
	.brand .custom-logo { max-height: 44px; }
	.section { padding: 56px 0; }
	.steps { grid-template-columns: 1fr; }
	.why-list { grid-template-columns: 1fr; }
	.cta-box { padding: 32px 24px; }
	.cta-actions, .cta-actions .btn { width: 100%; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-art { height: 260px; }
	.sheet { padding: 14px; gap: 7px; }
	.sheet-band { margin: -14px -14px 4px; }
	.footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
