/*
Theme Name: Coffee4dev Shop
Template: twentytwentyfive
Description: Child theme for shop.coffee4dev.com. Header, footer, colours and font follow coffee4dev.com (website/src/styles/global.css), so the main site can move to this theme later.
Version: 1.1.0
Text Domain: c4d-shop
*/

:root {
	--paper: #eef1ec;
	--card: #ffffff;
	--ink: #15211d;
	--ink-2: #4c5a54;
	--line: #d3dad4;
	--pine: #1f5c4a;
	--pine-ink: #ffffff;
	--focus: #2f5d8a;
	--font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
	-webkit-font-smoothing: antialiased;
}

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

.shell { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; box-sizing: border-box; }

/* Header, as on coffee4dev.com */
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--pine); text-decoration: none; letter-spacing: -0.01em; }
.nav-pill { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.nav-pill a { padding: 8px 16px; border-radius: 999px; white-space: nowrap; font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; }
.nav-pill a:hover { background: var(--paper); }
.nav-pill a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.btn {
	display: inline-block;
	background: var(--pine);
	color: var(--pine-ink);
	font: 600 17px/1 var(--font);
	padding: 16px 24px;
	border: 0;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover { background: #174a3b; color: var(--pine-ink); }
.btn-top { font-size: 15px; padding: 12px 18px; }

/* Footer, as on coffee4dev.com */
.foot { border-top: 1px solid var(--line); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--ink-2); }
.foot p { margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { display: inline-block; padding: 6px 0; }

@media (max-width: 900px) {
	.top-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
	.nav-pill { order: 3; width: 100%; justify-content: space-between; gap: 0; }
	.nav-pill a { padding: 8px 6px; flex: 1 1 auto; text-align: center; white-space: nowrap; font-size: 14px; }
}
@media (max-width: 560px) {
	.shell { padding-inline: 16px; }
	.top .btn-top { width: auto; padding: 10px 14px; }
}
