/* ==========================================================================
   K9 Warehouse: main stylesheet

   Section index:
   1. CSS custom properties (brand tokens)
   2. Base reset + typography
   3. B2B wrapper + container
   3.5 Site header (sticky)
   4. Hero
   5. Sections + colour bands
   6. Cards, badges, checklists, stats
   7. Process steps
   8. Trade enquiry form
   9. Text mockup tool
  10. Responsive breakpoints
   ========================================================================== */


/* 1. Brand tokens
   -------------------------------------------------------------------------- */
:root {
	--k9-primary:       #2563eb;   /* cyan-blue CTAs */
	--k9-primary-soft:  #9bc2ff;   /* used on dark band mini-titles */
	--k9-navy:          #0f2f4f;   /* dark band + stat numbers */
	--k9-gold:          #d4af37;   /* brand text / lead engraving preview */
	--k9-text:          #1b1b1b;
	--k9-text-muted:    #555;
	--k9-border:        #d6dbe3;
	--k9-bg-alt:        #f5f7fb;
	--k9-bg-soft:       #f8fafc;
	--k9-overlay:       rgba(8, 22, 36, 0.55);
}


/* 2. Base reset + typography
   -------------------------------------------------------------------------- */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	color: var(--k9-text);
	line-height: 1.5;
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
}


/* 3. B2B wrapper
   -------------------------------------------------------------------------- */
.k9b2b-wrapper {
	font-family: Arial, sans-serif;
	color: var(--k9-text);
	line-height: 1.5;
}

.k9b2b-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}


/* 3.4 Accessibility: skip link + focus rings
   -------------------------------------------------------------------------- */
.k9wh-skip-link {
	position: absolute;
	left: -9999px;
	top: -9999px;
	background: #000;
	color: #fff;
	padding: 12px 18px;
	font-weight: 700;
	border-radius: 4px;
	z-index: 200;
}

.k9wh-skip-link:focus {
	left: 16px;
	top: 16px;
	outline: 3px solid var(--k9-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.k9b2b-btn:focus-visible,
.k9b2b-btn-secondary:focus-visible {
	outline: 3px solid var(--k9-gold);
	outline-offset: 2px;
}


/* 3.5 Site header (sticky)
   -------------------------------------------------------------------------- */
.k9wh-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.k9wh-site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.k9wh-site-header__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}

.k9wh-site-header__logo {
	display: block;
	height: 88px;
	width: auto;
}

.k9wh-site-header__nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.k9wh-site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--k9-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
}

.k9wh-site-header__phone:hover {
	color: var(--k9-primary);
}

.k9wh-site-header__phone-icon {
	flex-shrink: 0;
	color: var(--k9-gold);
}

.k9wh-site-header__cta {
	display: inline-block;
	background: var(--k9-primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.k9wh-site-header__cta:hover,
.k9wh-site-header__cta:focus {
	background: var(--k9-navy);
	color: #fff;
}

/* Sit below the WP admin bar when logged in. */
.admin-bar .k9wh-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .k9wh-site-header {
		top: 46px;
	}
}

@media (max-width: 768px) {
	.k9wh-site-header__phone-number {
		display: none;
	}
	.k9wh-site-header__phone {
		padding: 6px;
	}
	.k9wh-site-header__nav {
		gap: 12px;
	}
	.k9wh-site-header__cta {
		padding: 9px 14px;
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	.k9wh-site-header__inner {
		padding: 10px 16px;
	}
	.k9wh-site-header__logo {
		height: 64px;
	}
}


/* 3.55 Instagram section
   -------------------------------------------------------------------------- */
.k9wh-instagram__intro {
	max-width: 720px;
	margin-bottom: 40px;
}

.k9wh-instagram__intro p {
	color: var(--k9-text-muted);
	font-size: 17px;
	margin: 16px auto 0;
}

.k9wh-instagram__feed {
	margin-bottom: 40px;
}

/* Smash Balloon container tidy-ups */
.k9wh-instagram__feed #sbi_images,
.k9wh-instagram__feed #sb_instagram .sbi_photo_wrap {
	border-radius: 8px;
	overflow: hidden;
}

.k9wh-instagram__cta {
	margin-top: 8px;
}


/* 3.6 Thank-you page
   -------------------------------------------------------------------------- */
.k9wh-thanks__inner {
	max-width: 720px;
	padding-top: 60px;
	padding-bottom: 80px;
}

.k9wh-thanks__lead {
	font-size: 18px;
	color: var(--k9-text-muted);
	margin-bottom: 36px;
}

.k9wh-thanks__cta {
	margin: 0 0 28px;
}

.k9wh-thanks__back {
	margin: 12px 0 0;
}


/* 4. Hero
   -------------------------------------------------------------------------- */
.k9b2b-hero {
	position: relative;
	color: #fff;
	padding: 110px 0 100px;
	background-color: var(--k9-navy);
}

.k9b2b-hero h1 {
	font-size: 48px;
	line-height: 1.1;
	max-width: 700px;
	margin: 0 0 18px;
}

.k9b2b-hero p {
	font-size: 18px;
	max-width: 620px;
	margin: 0 0 28px;
}


/* 5. Sections
   -------------------------------------------------------------------------- */
.k9b2b-section {
	padding: 70px 0;
}

.k9b2b-section-alt {
	background: var(--k9-bg-alt);
}

.k9b2b-section-dark {
	background: var(--k9-navy);
	color: #fff;
}

.k9b2b-center {
	text-align: center;
}


/* 5a. Grids
   -------------------------------------------------------------------------- */
.k9b2b-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.k9b2b-grid-3--spaced {
	margin-top: 30px;
}

.k9b2b-grid-2 {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 36px;
	align-items: center;
}


/* 6. Buttons
   -------------------------------------------------------------------------- */
.k9b2b-btn {
	display: inline-block;
	background: var(--k9-primary);
	color: #fff;
	text-decoration: none;
	padding: 14px 22px;
	border-radius: 8px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.k9b2b-btn:hover {
	opacity: 0.95;
}

.k9b2b-btn-secondary {
	display: inline-block;
	background: transparent;
	color: #fff;
	text-decoration: none;
	padding: 14px 22px;
	border-radius: 8px;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.6);
	margin-left: 12px;
}


/* 7. Cards, badges, checklists, stats
   -------------------------------------------------------------------------- */
.k9b2b-card {
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.k9b2b-card h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 22px;
}

.k9b2b-card p {
	margin: 0;
	color: var(--k9-text-muted);
}

.k9b2b-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.k9b2b-badge-row--center {
	justify-content: center;
}

.k9b2b-badge {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 14px;
}

.k9b2b-checklist {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.k9b2b-checklist li {
	margin-bottom: 12px;
	padding-left: 24px;
	position: relative;
}

.k9b2b-checklist li::before {
	content: "\2713"; /* ✓ */
	position: absolute;
	left: 0;
	top: 0;
	color: var(--k9-primary);
	font-weight: bold;
}

.k9b2b-img {
	width: 100%;
	border-radius: 14px;
	display: block;
}

.k9b2b-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 30px;
}

.k9b2b-stat {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}

.k9b2b-stat strong {
	display: block;
	font-size: 28px;
	color: var(--k9-navy);
	margin-bottom: 8px;
}

.k9b2b-mini-title {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--k9-primary);
	font-weight: 700;
	margin-bottom: 10px;
}

.k9b2b-mini-title--brand {
	color: var(--k9-gold);
}

.k9b2b-section-dark .k9b2b-mini-title {
	color: var(--k9-primary-soft);
}


/* 8. Process steps
   -------------------------------------------------------------------------- */
.k9b2b-process {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 34px;
}

.k9b2b-step {
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
}

.k9b2b-step-number {
	width: 42px;
	height: 42px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--k9-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}


/* 9. Trade enquiry form
   -------------------------------------------------------------------------- */
.k9b2b-enquiry-intro {
	margin-bottom: 28px;
}

.k9b2b-form-wrap {
	max-width: 900px;
	margin: 0 auto;
	background: #fff;
	color: var(--k9-text);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.k9b2b-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.k9b2b-field-full {
	grid-column: 1 / -1;
}

.k9b2b-form-wrap label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
}

.k9b2b-form-wrap input,
.k9b2b-form-wrap select,
.k9b2b-form-wrap textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--k9-border);
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	font-family: inherit;
}

.k9b2b-form-wrap textarea {
	min-height: 140px;
	resize: vertical;
}

.k9b2b-note {
	font-size: 13px;
	color: #666;
	margin-top: 8px;
}

.k9b2b-checkbox-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
}

.k9b2b-checkbox-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.k9b2b-checkbox-item input[type="checkbox"] {
	width: auto;
	margin: 0;
}


/* 10. Text mockup tool
   -------------------------------------------------------------------------- */
.k9-textmock-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 50px 20px;
	font-family: Arial, sans-serif;
}

.k9-textmock-grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 40px;
	align-items: start;
}

.k9-textmock-box {
	background: var(--k9-bg-alt);
	border-radius: 16px;
	padding: 20px;
}

.k9-textmock-stage {
	position: relative;
	width: 100%;
	max-width: 380px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #d9e0ea;
	touch-action: none;
}

.k9-lead-base {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.k9-brand-text {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--k9-gold);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
	cursor: grab;
	z-index: 2;
	user-select: none;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.25),
		0 1px 2px rgba(0, 0, 0, 0.2),
		0 0 8px rgba(212, 175, 55, 0.15);
	display: none;
}

.k9-brand-text.dragging {
	cursor: grabbing;
}

.k9-textmock-controls {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 24px;
}

.k9-field {
	margin-bottom: 18px;
}

.k9-field label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.k9-field input[type="text"],
.k9-field input[type="range"],
.k9-field select {
	width: 100%;
	box-sizing: border-box;
}

.k9-field input[type="text"],
.k9-field select {
	padding: 12px 14px;
	border: 1px solid var(--k9-border);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
}

.k9-help {
	font-size: 14px;
	color: #666;
	margin-top: 6px;
}

.k9-btn-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.k9-btn {
	background: var(--k9-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 18px;
	font-weight: 700;
	cursor: pointer;
}

.k9-btn-secondary {
	background: var(--k9-navy);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 18px;
	font-weight: 700;
	cursor: pointer;
}

.k9-meta {
	margin-top: 18px;
	font-size: 14px;
	color: #444;
	background: var(--k9-bg-soft);
	border-radius: 10px;
	padding: 14px;
}

.k9-font-serif {
	font-family: Georgia, "Times New Roman", serif;
}

.k9-font-sans {
	font-family: Arial, Helvetica, sans-serif;
}

.k9-font-modern {
	font-family: "Trebuchet MS", Arial, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.k9-font-luxury {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	letter-spacing: 0.06em;
}

.k9-font-bold {
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}


/* 11. Responsive
   -------------------------------------------------------------------------- */

/* Tablet sweet spot: 2-col for 3-card / 4-step grids so we don't waste space. */
@media (max-width: 980px) and (min-width: 769px) {
	.k9b2b-grid-3,
	.k9b2b-stats,
	.k9b2b-process {
		grid-template-columns: repeat(2, 1fr);
	}

	.k9b2b-hero {
		padding: 80px 0 70px;
	}

	.k9b2b-hero h1 {
		font-size: 40px;
	}
}

/* Mobile: collapse everything to single column. */
@media (max-width: 768px) {
	.k9b2b-grid-3,
	.k9b2b-grid-2,
	.k9b2b-stats,
	.k9b2b-process,
	.k9b2b-form-grid {
		grid-template-columns: 1fr;
	}

	.k9b2b-hero {
		padding: 60px 0 50px;
	}

	.k9b2b-hero h1 {
		font-size: 32px;
	}

	.k9b2b-hero p {
		font-size: 16px;
	}

	.k9b2b-btn-secondary {
		margin-left: 0;
		margin-top: 12px;
	}

	.k9b2b-section,
	.k9b2b-section-alt,
	.k9b2b-section-dark {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

/* Very narrow: tighten typography + ensure header CTA still fits. */
@media (max-width: 420px) {
	.k9b2b-hero h1 {
		font-size: 28px;
	}

	.k9wh-site-header__cta {
		padding: 8px 12px;
		font-size: 13px;
	}
}

@media (max-width: 850px) {
	.k9-textmock-grid {
		grid-template-columns: 1fr;
	}

	.k9-textmock-stage {
		max-width: 100%;
	}
}
