/* ==========================================================================
   PrintCraft — Design tokens, reset, typography, layout primitives,
   buttons, header, announcement bar, footer.
   ========================================================================== */

:root {
	--white: #ffffff;
	--black: #0a0a0a;
	--navy: #1a1a2e;
	--navy-dark: #16213e;
	--accent: #e94560;
	--accent-dark: #c73e54;
	--success: #27ae60;
	--warning: #f59e0b;

	--gray-100: #f7f7f9;
	--gray-200: #edeef2;
	--gray-300: #dcdde3;

	--text: #1a1a2e;
	--text-light: #55566b;
	--text-muted: #8b8ca3;
	--border: #e6e7ee;

	--font-display: 'Poppins', 'Inter', sans-serif;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--radius-full: 999px;

	--shadow-sm: 0 2px 10px rgba(26, 26, 46, 0.06);
	--shadow: 0 8px 30px rgba(26, 26, 46, 0.10);
	--shadow-lg: 0 20px 50px rgba(26, 26, 46, 0.16);

	--container: 1240px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--text);
	background: var(--gray-100);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

img,
svg {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--navy);
}

p {
	margin: 0 0 1em;
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
select,
textarea {
	font-family: inherit;
	font-size: 0.95rem;
}

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 80px 0;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}

.section-label {
	display: inline-block;
	color: var(--accent);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.section-title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
}

.section-desc {
	color: var(--text-light);
	font-size: 1.05rem;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 13px 26px;
	border-radius: var(--radius-full);
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.btn svg {
	width: 18px;
	height: 18px;
}

.btn-primary {
	background: var(--accent);
	color: var(--white);
	box-shadow: 0 6px 20px rgba(233, 69, 96, 0.35);
}

.btn-primary:hover {
	background: var(--accent-dark);
	transform: translateY(-1px);
}

.btn-secondary {
	background: var(--navy);
	color: var(--white);
}

.btn-secondary:hover {
	background: var(--navy-dark);
	transform: translateY(-1px);
}

.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--border);
}

.btn-outline:hover {
	border-color: var(--navy);
}

.btn-white {
	background: var(--white);
	color: var(--navy);
}

.btn-white:hover {
	transform: translateY(-1px);
}

.btn-lg {
	padding: 16px 32px;
	font-size: 1rem;
}

.btn-sm {
	padding: 9px 18px;
	font-size: 0.85rem;
}

/* Announcement bar -------------------------------------------------------- */

.announcement-bar {
	background: var(--navy);
	color: var(--white);
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 10px 16px;
}

.announcement-bar a {
	color: var(--accent);
	text-decoration: underline;
}

/* Header ------------------------------------------------------------------ */

.header {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	height: 76px;
}

.logo {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--navy);
	flex-shrink: 0;
}

.logo span {
	color: var(--accent);
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 1;
	justify-content: center;
}

.nav a {
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--text-light);
	position: relative;
	padding: 6px 0;
}

.nav a:hover,
.nav a.active {
	color: var(--navy);
}

.nav a.active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--accent);
	border-radius: var(--radius-full);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.header-btn {
	position: relative;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	color: var(--text);
}

.header-btn:hover {
	background: var(--gray-100);
}

.header-btn svg {
	width: 20px;
	height: 20px;
}

.cart-count {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--accent);
	color: var(--white);
	font-size: 0.65rem;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: var(--radius-full);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}

.mobile-toggle {
	display: none;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	position: relative;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
	content: '';
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: var(--navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle span {
	top: 50%;
	transform: translateY(-50%);
}

.mobile-toggle span::before {
	top: -7px;
}

.mobile-toggle span::after {
	top: 7px;
}

.mobile-toggle.is-open span {
	background: transparent;
}

.mobile-toggle.is-open span::before {
	top: 0;
	transform: rotate(45deg);
}

.mobile-toggle.is-open span::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Breadcrumb --------------------------------------------------------------- */

.breadcrumb {
	padding: 20px 0;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.breadcrumb a {
	color: var(--text-light);
	font-weight: 600;
}

.breadcrumb a:hover {
	color: var(--accent);
}

.breadcrumb span {
	margin: 0 6px;
}

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

.footer {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.75);
	padding-top: 64px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer-brand .logo {
	color: var(--white);
}

.footer-brand p {
	font-size: 0.88rem;
	margin-top: 12px;
	line-height: 1.7;
}

.footer-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.footer-social a {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--white);
}

.footer-social a:hover {
	background: var(--accent);
}

.footer-heading {
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 18px;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	font-size: 0.88rem;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-newsletter-form {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.footer-newsletter-form input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	font-size: 0.85rem;
}

.footer-newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form button {
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	border: none;
	background: var(--accent);
	color: var(--white);
	font-weight: 700;
	font-size: 0.85rem;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 24px 0;
	font-size: 0.82rem;
}

.footer-bottom-lite {
	border-top: none;
}

.footer-payments {
	display: flex;
	gap: 14px;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}

.form-notice {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	margin-bottom: 16px;
}

.form-notice-success {
	background: rgba(39, 174, 96, 0.12);
	color: var(--success);
}

.form-notice-error {
	background: rgba(233, 69, 96, 0.12);
	color: var(--accent);
}
