/**
 * Static prototype — product category page (single column)
 * @package Creative_Custom_Boxes
 */

/* ── Hero ── */
.ccb-cat-hero {
	position: relative;
	margin-bottom: 0;
}

.ccb-cat-hero::before {
	content: '';
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background:
		radial-gradient(ellipse 75% 70% at 88% 18%, rgba(245, 154, 87, 0.09) 0%, transparent 55%),
		radial-gradient(ellipse 55% 50% at 8% 92%, rgba(255, 255, 255, 0.85) 0%, transparent 50%),
		linear-gradient(125deg, #f6f4f2 0%, #eef1f4 38%, #e6eaef 68%, #dfe5eb 100%);
}

.ccb-cat-hero__container {
	position: relative;
	z-index: 1;
}

.ccb-cat-hero__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 40px;
	padding: 40px 0 48px;
}

.ccb-cat-hero__content {
	flex: 1;
	min-width: 0;
}

.ccb-cat-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 13px;
	color: var(--mid-gray, #767676);
}

.ccb-cat-hero__breadcrumb a {
	color: var(--charcoal, #242424);
	text-decoration: none;
}

.ccb-cat-hero__breadcrumb a:hover {
	color: var(--orange, #F59A57);
}

.ccb-cat-hero__title {
	margin: 0 0 16px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 42px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--charcoal, #242424);
}

.ccb-cat-hero__teaser {
	margin: 0 0 24px;
	max-width: 520px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--mid-gray, #767676);
}

.ccb-cat-hero__body,
.ccb-cat-hero .ccb-category-content-below.entry-content {
	margin: 0 0 24px;
	max-width: 520px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--mid-gray, #767676);
}

.ccb-cat-hero__body p:last-child,
.ccb-cat-hero .ccb-category-content-below.entry-content p:last-child {
	margin-bottom: 0;
}

.ccb-cat-hero__body h2,
.ccb-cat-hero__body h3,
.ccb-cat-hero .ccb-category-content-below.entry-content h2,
.ccb-cat-hero .ccb-category-content-below.entry-content h3 {
	margin: 1em 0 0.5em;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	color: var(--charcoal, #242424);
}

.ccb-cat-hero__body > :first-child,
.ccb-cat-hero .ccb-category-content-below.entry-content > :first-child {
	margin-top: 0;
}

.ccb-cat-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.ccb-cat-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccb-cat-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--charcoal, #242424);
}

.ccb-cat-hero__trust i {
	color: var(--orange, #F59A57);
}

.ccb-cat-hero__media {
	flex: 0 0 44%;
	max-width: 44%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.ccb-cat-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	object-position: center right;
}

/* ── Products (no CTA) ── */
.ccb-cat-products {
	padding-top: 56px;
	padding-bottom: 64px;
}

.ccb-cat-products__head {
	margin-bottom: 32px;
	text-align: center;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.ccb-cat-products__title {
	margin: 0 0 10px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 32px;
	font-weight: 700;
	color: var(--charcoal, #242424) !important;
}

.ccb-cat-products__desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--mid-gray, #767676);
}

.ccb-main--category ul.products.ccb-cat-product-grid,
ul.products.product-grid.ccb-cat-product-grid,
.ccb-cat-layout ul.products.ccb-cat-product-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	width: 100%;
	clear: both;
}

.ccb-cat-product-grid::before,
.ccb-cat-product-grid::after {
	display: none !important;
	content: none !important;
}

/* Product card markup/styles: ccb-product-card.css */

/* ── Materials full width ── */
.ccb-cat-materials-fw {
	position: relative;
	padding: 72px 0;
	background: var(--charcoal, #242424);
}

.ccb-cat-materials-fw::before {
	content: '';
	position: absolute;
	inset: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--charcoal, #242424);
	z-index: 0;
}

.ccb-cat-materials-fw__inner {
	position: relative;
	z-index: 1;
}

.ccb-cat-materials-fw__head {
	max-width: 640px;
	margin-bottom: 36px;
}

.ccb-cat-materials-fw__label {
	margin: 0 0 10px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--orange, #F59A57);
}

.ccb-cat-materials-fw__title {
	margin: 0 0 12px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff !important;
}

.ccb-cat-materials-fw__intro {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
}

.ccb-cat-materials-fw__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.ccb-cat-materials-fw__tab {
	padding: 11px 22px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 35px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ccb-cat-materials-fw__tab:hover {
	color: #fff;
	border-color: rgba(245, 154, 87, 0.5);
}

.ccb-cat-materials-fw__tab.is-active {
	color: var(--charcoal, #242424);
	background: var(--orange, #F59A57);
	border-color: var(--orange, #F59A57);
}

.ccb-cat-materials-fw__panel {
	display: none;
}

.ccb-cat-materials-fw__panel.is-active {
	display: block;
}

.ccb-cat-materials-fw__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccb-cat-materials-fw__card {
	height: 100%;
	padding: 24px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	transition: border-color 0.2s, background 0.2s;
}

.ccb-cat-materials-fw__card:hover {
	border-color: rgba(245, 154, 87, 0.45);
	background: rgba(255, 255, 255, 0.09);
}

.ccb-cat-materials-fw__card-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(245, 154, 87, 0.15);
	border-radius: 10px;
	color: var(--orange, #F59A57);
	font-size: 18px;
}

.ccb-cat-materials-fw__card h3 {
	margin: 0 0 8px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 16px;
	font-weight: 700;
	color: #fff !important;
}

.ccb-cat-materials-fw__card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.62);
}

/* FAQ accordion — assets/css/ccb-faq.css (loaded globally) */

/* ── Responsive ── */
@media (max-width: 1199px) {
	.ccb-cat-product-grid,
	.ccb-cat-materials-fw__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 991px) {
	.ccb-cat-hero__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.ccb-cat-hero__media {
		flex: none;
		max-width: 100%;
		width: 100%;
		justify-content: center;
	}

	.ccb-cat-hero__img {
		max-height: 360px;
		object-position: center;
	}

	.ccb-cat-product-grid,
	.ccb-cat-materials-fw__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ccb-cat-materials-fw {
		padding: 56px 0;
	}
}

@media (max-width: 767px) {
	.ccb-cat-hero__title {
		font-size: 32px;
	}

	.ccb-cat-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.ccb-cat-hero__actions .btn-primary,
	.ccb-cat-hero__actions .btn-outline-orange {
		width: 100%;
		text-align: center;
	}

	.ccb-cat-products__title,
	.ccb-cat-materials-fw__title,
	.ccb-cat-faq__title {
		font-size: 26px;
	}

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

	.ccb-cat-materials-fw__grid {
		grid-template-columns: 1fr;
	}
}
