/**
 * Bootstrap 5 overrides — Vision Printed Boxes
 * Scoped to avoid conflicts when converted to standalone theme.
 */

.ccb-site {
	--ccb-orange: #F59A57;
	--ccb-orange-hover: #DF8C4F;
	--ccb-text-on-tint: #5C5C5C;
	--ccb-charcoal: #242424;
	--ccb-ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
	--ccb-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ccb-duration: 0.55s;
	--ccb-duration-slow: 0.75s;
	--ccb-bs-primary: #F59A57;
	--ccb-bs-primary-rgb: 245, 154, 87;
	--ccb-max-w: 1280px;
	--ccb-gutter: 24px;
	font-family: 'Work Sans', Arial, sans-serif;
	color: #767676;
	overflow-x: hidden;
}

/* Unified content width — header, main, footer */
.ccb-site .top-bar__inner,
.ccb-site .header__inner,
.ccb-site .container,
.ccb-site .trust-strip-inner,
.ccb-site .search-bar__inner {
	max-width: var(--ccb-max-w);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ccb-gutter);
	padding-right: var(--ccb-gutter);
	width: 100%;
	box-sizing: border-box;
}

/* Slim footer — dark brand bar */
.ccb-footer.ft {
	background: #0f0f0f;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 56px 0 32px;
	overflow: visible;
}

.ccb-footer .ft-wrap {
	padding-top: 0;
	padding-bottom: 0;
}

.ccb-footer .ft-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ccb-footer .ft-brand img {
	display: block;
	height: auto;
	max-width: 160px;
}

.ccb-footer .ft-blurb {
	flex: 1 1 220px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	max-width: 440px;
}

.ccb-footer .ft-top-cta {
	margin-left: auto;
	flex-shrink: 0;
}

.ccb-footer .ft-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 48px;
	margin-bottom: 40px;
}

.ccb-footer .ft-col-title {
	font-family: 'Urbanist', Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 16px;
}

.ccb-footer .ft-links-simple,
.ccb-footer .ft-contact-simple {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ccb-footer .ft-links-simple a,
.ccb-footer .ft-contact-simple a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.62);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s;
}

.ccb-footer .ft-links-simple a:hover,
.ccb-footer .ft-contact-simple a:hover {
	color: var(--ccb-orange);
}

.ccb-footer .ft-contact-simple i {
	color: var(--ccb-orange);
	font-size: 14px;
	width: 16px;
	text-align: center;
}

.ccb-footer .ft-contact-simple .ft-contact-address {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.62);
}

.ccb-footer .ft-contact-simple .ft-contact-address span {
	flex: 1;
}

.ccb-footer .ft-copy .site-credit__link {
	color: inherit;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.2);
	text-underline-offset: 2px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ccb-footer .ft-copy .site-credit__link:hover {
	color: rgba(255, 255, 255, 0.65);
	text-decoration-color: rgba(245, 154, 87, 0.45);
}

.ccb-footer .ft-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

.ccb-footer .ft-copy {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
}

.ccb-footer .ft-socials {
	display: flex;
	gap: 8px;
}

.ccb-footer .ft-soc {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.65);
	font-size: 15px;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ccb-footer .ft-soc:hover {
	background: var(--ccb-orange);
	border-color: var(--ccb-orange);
	color: var(--ccb-charcoal);
}

.ccb-footer .ft-legal {
	display: flex;
	gap: 20px;
}

.ccb-footer .ft-legal a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
}

.ccb-footer .ft-legal a:hover {
	color: var(--ccb-orange);
}

.ccb-site h1,
.ccb-site h2,
.ccb-site h3,
.ccb-site h4,
.ccb-site h5,
.ccb-site h6,
.ccb-site .h1,
.ccb-site .h2,
.ccb-site .h3,
.ccb-site .h4,
.ccb-site .h5,
.ccb-site .h6 {
	font-family: 'Urbanist', 'Arial Black', Arial, sans-serif;
	color: var(--ccb-charcoal);
}

/* Dark sections — keep light headings (wins over global charcoal) */
.ccb-site .hero .hero-title,
.ccb-site .hero h1.hero-title,
.ccb-site .quote-section .section-title,
.ccb-site .quote-section .section-title.light,
.ccb-site .collection-week .cw-title,
.ccb-site .ccb-cat-materials-fw__title,
.ccb-site .ccb-about-cta__title,
.ccb-site .ccb-about-cta h2 {
	color: #fff !important;
}

.ccb-site .hero .hero-title em,
.ccb-site .collection-week .cw-title span {
	color: var(--ccb-orange) !important;
	font-style: normal;
}

.ccb-site .quote-section .section-desc.light,
.ccb-site .quote-bullets li {
	color: rgba(255, 255, 255, 0.75);
}

/* Buttons — unified neobrutalist system in css/ccb-buttons.css */

/* Logo */
.ccb-site .site-header .header__logo img,
.ccb-site .header__logo .ccb-logo--full,
.ccb-site .header__logo img.custom-logo {
	height: 44px !important;
	width: auto !important;
	max-width: min(220px, 55vw) !important;
	object-fit: contain;
}

.ccb-logo--full {
	height: 44px;
	width: auto;
	max-width: min(220px, 55vw);
}

.ccb-logo--icon {
	display: none;
	height: 40px;
	width: auto;
}

.header__logo--drawer .ccb-logo--full {
	height: 34px;
	max-width: 140px;
}

/* Mobile drawer search */
.mob-search-row {
	padding: 12px 16px;
	background: #fafafa;
	border-bottom: 1px solid #eee;
}

.mob-nav-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 11px 14px;
	font-family: 'Urbanist', Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #242424;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.mob-nav-search:hover {
	border-color: var(--ccb-orange);
	color: var(--ccb-orange);
}

.mob-nav-search i {
	font-size: 15px;
	color: var(--ccb-orange);
}

.ccb-footer .ccb-logo--full {
	height: 40px;
	filter: none;
}

/* Tablet — compact footer */
@media (max-width: 991.98px) {
	.ccb-footer.ft {
		padding: 36px 0 24px;
	}

	.ccb-footer .ft-top {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			'brand cta'
			'blurb blurb';
		align-items: center;
		gap: 10px 14px;
		padding-bottom: 24px;
		margin-bottom: 24px;
	}

	.ccb-footer .ft-brand {
		grid-area: brand;
	}

	.ccb-footer .ft-brand img {
		max-width: 140px;
	}

	.ccb-footer .ft-top-cta {
		grid-area: cta;
		margin-left: 0;
		width: auto;
		padding: 10px 18px;
		font-size: 13px;
		white-space: nowrap;
	}

	.ccb-footer .ft-blurb {
		grid-area: blurb;
		flex: none;
		max-width: none;
		font-size: 13px;
		line-height: 1.5;
	}

	.ccb-footer .ft-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px 16px;
		margin-bottom: 24px;
	}

	.ccb-footer .ft-col-title {
		margin-bottom: 10px;
		font-size: 11px;
	}

	.ccb-footer .ft-links-simple,
	.ccb-footer .ft-contact-simple {
		gap: 8px;
	}

	.ccb-footer .ft-links-simple a,
	.ccb-footer .ft-contact-simple a {
		font-size: 13px;
	}

	.ccb-footer .ft-bottom {
		padding-top: 16px;
		gap: 12px;
	}
}

/* Mobile — minimal, mobile-first footer */
@media (max-width: 575.98px) {
	.ccb-footer.ft {
		padding: 28px 0 calc(20px + env(safe-area-inset-bottom, 0px));
	}

	.ccb-footer .ft-top {
		gap: 8px 12px;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}

	.ccb-footer .ft-brand img {
		max-width: 128px;
		height: 34px;
		width: auto;
		object-fit: contain;
		object-position: left center;
	}

	.ccb-footer .ft-top-cta {
		padding: 9px 16px;
		font-size: 12px;
	}

	.ccb-footer .ft-blurb {
		font-size: 12px;
		color: rgba(255, 255, 255, 0.5);
	}

	.ccb-footer .ft-grid {
		grid-template-columns: 1fr 1fr;
		gap: 18px 14px;
		margin-bottom: 18px;
	}

	.ccb-footer .ft-col:last-child {
		grid-column: 1 / -1;
		margin-top: 10px;
	}

	.ccb-footer .ft-col-title {
		margin-bottom: 8px;
		letter-spacing: 1.2px;
	}

	.ccb-footer .ft-links-simple a,
	.ccb-footer .ft-contact-simple a {
		font-size: 12px;
	}

	.ccb-footer .ft-bottom {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			'copy copy'
			'social legal';
		align-items: center;
		row-gap: 14px;
		column-gap: 10px;
		padding-top: 14px;
	}

	.ccb-footer .ft-copy {
		grid-area: copy;
		font-size: 11px;
		line-height: 1.45;
	}

	.ccb-footer .ft-socials {
		grid-area: social;
		gap: 6px;
	}

	.ccb-footer .ft-soc {
		width: 32px;
		height: 32px;
		font-size: 14px;
		border-radius: 6px;
	}

	.ccb-footer .ft-legal {
		grid-area: legal;
		justify-self: end;
		gap: 14px;
	}

	.ccb-footer .ft-legal a {
		font-size: 11px;
	}

	.ccb-footer .ft-legal {
		grid-area: inherit !important;
		justify-self: start !important;
	}
}

@media (max-width: 360px) {
	.ccb-site .container,
	.ccb-site .container-fluid {
		padding-left: 12px;
		padding-right: 12px;
	}

	.hero-title {
		font-size: 32px !important;
	}

	.ccb-footer .ft-tagline {
		font-size: 18px;
	}

	.top-bar__promo {
		display: none;
	}

	.header__actions .btn-primary {
		padding: 8px 14px;
		font-size: 12px;
	}

	.trust-strip-inner {
		grid-template-columns: 1fr;
	}

	.trust-item {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		padding: 16px 12px;
	}

	.trust-item:last-child {
		border-bottom: none;
	}

	.trust-item:nth-child(3),
	.trust-item:nth-child(4),
	.trust-item:nth-child(5) {
		border-top: none;
		grid-column: auto;
	}
}

/* Font Awesome in trust strip & icon buttons */
.trust-icon i {
	color: var(--ccb-orange);
	font-size: 18px;
}

.ccb-site .icon-btn i {
	font-size: 18px;
	color: var(--ccb-charcoal);
}

/* WordPress placeholder blocks (dev preview) */
.ccb-wp-placeholder {
	border: 1px dashed rgba(245, 154, 87, 0.4);
	background: rgba(245, 154, 87, 0.04);
	border-radius: 8px;
}

/* ── Audit fixes: layout, mobile, a11y ── */

.ccb-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 10000;
	padding: 12px 20px;
	background: var(--ccb-orange);
	color: #fff;
	font-family: 'Urbanist', Arial, sans-serif;
	font-weight: 700;
	border-radius: 0 0 8px 8px;
}

.ccb-skip-link:focus {
	left: 16px;
	top: 0;
	width: auto;
	height: auto;
}

.ccb-site :focus-visible {
	outline: 2px solid var(--ccb-orange);
	outline-offset: 2px;
}

.ccb-site .hamburger:focus-visible,
.ccb-site .icon-btn:focus-visible {
	outline-offset: 3px;
}

@media (max-width: 960px) {
	.mega-menu {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.header__quote-cta {
		font-size: 13px;
		padding: 10px 16px;
	}

	.hero .container {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.header__search-desktop {
		display: none !important;
	}

	.header__logo .ccb-logo--full {
		height: 34px;
		max-width: min(168px, 50vw);
	}

	.hero-trust {
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 0;
		margin-top: 28px;
		padding-top: 20px;
	}

	.hero-trust-item:last-child {
		display: none;
	}

	.hero-trust .trust-divider:nth-child(4) {
		display: none;
	}

	.hero-trust .trust-divider {
		display: block;
		width: 1px;
		height: 28px;
		background: rgba(255, 255, 255, 0.15);
		flex-shrink: 0;
		margin: 0 14px;
	}

	.hero-trust-item {
		flex: 0 1 auto;
		text-align: center;
		min-width: 0;
	}

	.hero-trust-item strong {
		font-size: 17px;
	}

	.hero-trust-item span {
		font-size: 10px;
		line-height: 1.25;
		white-space: nowrap;
	}

	.stats-row {
		grid-template-columns: 1fr;
	}

	.bestsellers-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.bestsellers-tabs {
		flex-wrap: wrap;
	}
}

@media (max-width: 600px) {
	.header__logo .ccb-logo--full {
		height: 32px;
		max-width: min(152px, 46vw);
	}

	.hero-trust {
		flex-wrap: nowrap !important;
		gap: 0 !important;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.hero-actions .btn-primary,
	.hero-actions .btn-secondary {
		justify-content: center;
		width: 100%;
	}

	.quote-layout {
		gap: 32px;
	}

	.quote-form-card {
		padding: 24px 20px;
	}
}

@media (max-width: 480px) {
	.header__actions .icon-btn[aria-label='Quote cart'] {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccb-site *,
	.ccb-site *::before,
	.ccb-site *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.cat-card,
	.product-card,
	.feature-card,
	.choose-step,
	.porto-item {
		opacity: 1 !important;
		transform: none !important;
	}
}

.feat-icon i,
.qb-icon i {
	color: var(--ccb-orange);
	font-size: 16px;
}

.quote-section .fa-star {
	color: var(--ccb-orange);
	font-size: 12px;
	margin-right: 1px;
}

/* Static prototype: no document-flow WhatsApp bar below footer */
.wa-float {
	display: none !important;
}

.ccb-site {
	padding-bottom: 0;
}

button.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
}

button.faq-question h4 {
	pointer-events: none;
}

/* Hero — image aligned right, no badge */
.hero .container {
	align-items: center;
}

.hero-image-wrap {
	justify-self: end;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	width: 100%;
}

.hero-image-wrap img {
	margin-left: auto;
	margin-right: 0;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.hero-badge {
	display: none !important;
}

/* FSC float card */
.features-img-float {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	min-width: 0;
}

.features-img-float__icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(245, 154, 87, 0.15);
	color: var(--ccb-orange);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.features-img-float__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.2;
}

.features-img-float__text strong {
	font-family: 'Urbanist', Arial, sans-serif;
	font-size: 14px;
	color: var(--ccb-charcoal);
}

.features-img-float__text span {
	font-size: 12px;
	color: var(--ccb-charcoal);
	opacity: 0.65;
}

.stat-stars .fa-star {
	color: var(--ccb-orange);
	font-size: 11px;
	margin-right: 1px;
}

/* Category cards — image + overlay title, no description */
.category-grid {
	gap: 16px;
	margin-top: 8px;
}

a.cat-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: none;
	background: transparent;
}

a.cat-card .cat-img-wrap {
	height: 220px;
	border-radius: 14px;
	overflow: hidden;
}

a.cat-card .cat-overlay {
	background: linear-gradient(
		to top,
		rgba(36, 36, 36, 0.88) 0%,
		rgba(36, 36, 36, 0.35) 42%,
		transparent 72%
	);
}

a.cat-card .cat-title {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	margin: 0;
	font-family: 'Urbanist', Arial, sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
	color: #fff !important;
}

a.cat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

a.cat-card:hover .cat-overlay {
	/*background: linear-gradient(*/
	/*	to top,*/
	/*	rgba(245, 154, 87, 0.92) 0%,*/
	/*	rgba(36, 36, 36, 0.45) 50%,*/
	/*	transparent 75%*/
	/*);*/
	a.cat-card:hover .cat-overlay {
		background: linear-gradient( to top, rgba(35, 35, 35, 0.92) 0%, rgba(36, 36, 36, 0.45) 50%, transparent 75% );
	}
}

/* Featured This Week */
.collection-week .container {
	overflow: hidden;
}

.ccb-site .collection-week .cw-title,
.ccb-site .collection-week .cw-product-body h4 {
	color: #fff !important;
}

.ccb-site .collection-week .cw-desc,
.ccb-site .collection-week .cw-product-body p {
	color: rgba(255, 255, 255, 0.65);
}

.ccb-site .collection-week .cw-features {
	padding-left: 0;
	margin-left: 0;
}

.ccb-site .collection-week .cw-left {
	padding-left: 0;
}

.ccb-site .collection-week .cw-features li {
	padding-left: 0;
}

.cw-inner {
	gap: 48px;
	align-items: start;
}

.cw-badge {
	gap: 8px;
}

.cw-badge .fa-star {
	font-size: 12px;
}

.cw-features li::before {
	content: none;
	display: none;
}

.cw-features__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--orange, #f59a57);
	border: 2px solid var(--charcoal, #242424);
	color: var(--near-black, #0f0f0f);
	font-size: 11px;
}

.cw-right {
	min-width: 0;
}

.cw-products {
	width: 100%;
}

/* Quote section */
.quote-left {
	text-align: left;
}

.quote-bullets {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	gap: 10px;
}

.quote-bullets li {
	padding: 0;
	margin: 0;
	gap: 10px;
	align-items: flex-start;
	text-align: left;
}

.qb-icon {
	margin: 2px 0 0;
	flex-shrink: 0;
}

/* Quote form — unified neobrutalist styles in css/ccb-forms.css */

@media (max-width: 900px) {
	.cw-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cw-products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ccb-site {
		--ccb-gutter: 16px;
	}

	.cw-products {
		grid-template-columns: 1fr;
	}

	.category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	a.cat-card .cat-img-wrap {
		height: 160px;
	}

	a.cat-card .cat-title {
		font-size: 15px;
		left: 12px;
		right: 12px;
		bottom: 12px;
	}
}

@media (max-width: 400px) {
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}
