/* ==================================================================
   Sunland Safety — Product catalog styles
   Scope: archive-jumpwp_product, taxonomy-jumpwp_product_category,
          single-jumpwp_product
   Palette matches site theme: safety orange / amber / industrial dark
   v1.1.0: full-bleed photo category cards + larger readable fonts
   ================================================================== */

/* ---------- Hero ---------- */
.sunland-pg-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 184, 0, 0.18) 0%, rgba(255, 184, 0, 0) 45%),
		linear-gradient(100deg, rgba(20, 20, 22, 0.98) 0%, rgba(27, 27, 27, 0.94) 45%, rgba(120, 55, 0, 0.9) 100%),
		#1b1b1b;
	padding: 4.5rem 0 4rem;
	position: relative;
	overflow: hidden;
}

.sunland-pg-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 184, 0, 0.25) 0%, rgba(255, 107, 0, 0) 70%);
	pointer-events: none;
}

.sunland-pg-crumb {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	color: #ffb800;
	background: rgba(255, 107, 0, 0.14);
	border: 1px solid rgba(255, 107, 0, 0.35);
	border-radius: 999px;
	padding: 0.55rem 1.3rem;
	margin-bottom: 1.2rem;
}

.sunland-pg-crumb a {
	color: #ffffff;
	text-decoration: none;
}

.sunland-pg-crumb a:hover {
	color: #ffb800;
}

.sunland-pg-crumb i {
	font-size: 0.85rem;
	color: #ff6b00;
}

.sunland-pg-title {
	color: #ffffff;
	font-size: 3.3rem;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.9rem;
}

.sunland-pg-title::after {
	content: "";
	display: block;
	width: 76px;
	height: 5px;
	border-radius: 3px;
	background: linear-gradient(90deg, #ff6b00, #ffb800);
	margin-top: 1.1rem;
}

.sunland-pg-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.32rem;
	line-height: 1.65;
	max-width: 840px;
	margin: 0;
}

/* ---------- Category cards (full-bleed photo cards) ---------- */
.sunland-pg-cats {
	background: #f6f6f6;
	padding: 3.2rem 0 1.8rem;
}

.sunland-pg-cats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.2rem;
}

/* Desktop: fixed 4 columns so 8 cards form a clean 4x2 grid */
@media (min-width: 62em) {
	.sunland-pg-cats-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.sunland-cat-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 250px;
	background: linear-gradient(150deg, #262626 0%, #2e2417 60%, #4a3110 100%);
	border: 1px solid #e3e3e3;
	border-radius: 14px;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sunland-cat-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #ff6b00, #ffb800);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
	z-index: 3;
}

.sunland-cat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(27, 27, 27, 0.24);
	border-color: rgba(255, 107, 0, 0.55);
}

.sunland-cat-card:hover::before {
	transform: scaleX(1);
}

.sunland-cat-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.001);
	transition: transform 0.5s ease;
}

.sunland-cat-card:hover .sunland-cat-bg {
	transform: scale(1.07);
}

.sunland-cat-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(14, 13, 12, 0.95) 0%,
		rgba(14, 13, 12, 0.68) 30%,
		rgba(14, 13, 12, 0.28) 58%,
		rgba(14, 13, 12, 0.08) 80%,
		rgba(14, 13, 12, 0) 100%
	);
}

.sunland-cat-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	width: 100%;
	padding: 1.35rem 1.3rem 1.3rem;
}

.sunland-cat-name {
	font-size: 1.5rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sunland-cat-meta {
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffb800;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.sunland-cat-arrow {
	position: absolute;
	right: 1.2rem;
	bottom: 1.35rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 107, 0, 0.92);
	color: #ffffff;
	font-size: 0.95rem;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.sunland-cat-card:hover .sunland-cat-arrow {
	opacity: 1;
	transform: translateX(0);
}

/* ---------- Category chips (taxonomy page) ---------- */
.sunland-pg-chipsbar {
	background: #f6f6f6;
	padding: 1.6rem 0 0.4rem;
}

.sunland-pg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.sunland-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #ffffff;
	border: 1px solid #e4e4e4;
	border-radius: 999px;
	padding: 0.55rem 1.2rem;
	font-size: 1rem;
	font-weight: 600;
	color: #444444;
	text-decoration: none;
	transition: all 0.2s ease;
}

.sunland-chip i {
	color: #ff6b00;
}

.sunland-chip:hover {
	border-color: #ff6b00;
	color: #ff6b00;
}

.sunland-chip.is-active {
	background: #ff6b00;
	border-color: #ff6b00;
	color: #ffffff;
}

.sunland-chip.is-active i {
	color: #ffffff;
}

/* ---------- Product grid ---------- */
.sunland-pg-section {
	background: #f6f6f6;
	padding: 2.4rem 0 4.5rem;
}

.sunland-pg-section:has(.sunland-pg-chipsbar) + .sunland-pg-section {
	padding-top: 1.6rem;
}

.sunland-pg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.sunland-product-card {
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sunland-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 34px rgba(27, 27, 27, 0.12);
}

.sunland-product-thumb {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1b1b1b;
}

.sunland-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sunland-product-card:hover .sunland-product-thumb img {
	transform: scale(1.05);
}

.sunland-product-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #262626 0%, #3a2a10 70%, #ff6b00 160%);
	color: #ffb800;
	font-size: 2.6rem;
}

.sunland-product-badge {
	position: absolute;
	left: 0.9rem;
	top: 0.9rem;
	background: rgba(255, 107, 0, 0.92);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.32rem 0.85rem;
	text-decoration: none;
}

a.sunland-product-badge:hover {
	background: #1b1b1b;
	color: #ffb800;
}

.sunland-product-body {
	padding: 1.15rem 1.2rem 1.3rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.sunland-product-title {
	font-size: 1.18rem;
	font-weight: 700;
	margin: 0 0 0.45rem;
	line-height: 1.35;
}

.sunland-product-title a {
	color: #1b1b1b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sunland-product-title a:hover {
	color: #ff6b00;
}

.sunland-product-excerpt {
	font-size: 0.96rem;
	color: #6d6d6d;
	line-height: 1.6;
	margin: 0 0 0.95rem;
	flex: 1;
}

.sunland-product-more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #ff6b00;
	text-decoration: none;
}

.sunland-product-more i {
	transition: transform 0.2s ease;
}

.sunland-product-more:hover {
	color: #d95c00;
}

.sunland-product-more:hover i {
	transform: translateX(4px);
}

/* ---------- Empty state ---------- */
.sunland-pg-empty {
	background: #ffffff;
	border: 2px dashed #e0e0e0;
	border-radius: 14px;
	text-align: center;
	padding: 4rem 2rem;
	max-width: 640px;
	margin: 0 auto;
}

.sunland-pg-empty i {
	font-size: 2.6rem;
	color: #ffb800;
	margin-bottom: 1rem;
}

.sunland-pg-empty h3 {
	font-size: 1.55rem;
	font-weight: 800;
	color: #1b1b1b;
	margin: 0 0 0.6rem;
}

.sunland-pg-empty p {
	color: #6d6d6d;
	font-size: 1.02rem;
	line-height: 1.65;
	margin: 0 0 1.4rem;
}

/* ---------- Buttons ---------- */
.sunland-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(120deg, #ff6b00, #f59e0b);
	color: #ffffff;
	font-weight: 700;
	font-size: 0.95rem;
	border-radius: 8px;
	padding: 0.8rem 1.6rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sunland-btn:hover {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(255, 107, 0, 0.35);
}

.sunland-btn-outline {
	background: transparent;
	border: 2px solid #1b1b1b;
	color: #1b1b1b;
}

.sunland-btn-outline:hover {
	background: #1b1b1b;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(27, 27, 27, 0.25);
}

/* ---------- Single product ---------- */
.sunland-sp-hero {
	padding: 2.6rem 0 2.2rem;
}

.sunland-sp-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 2.5rem;
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 2rem;
}

.sunland-sp-gallery {
	border-radius: 10px;
	overflow: hidden;
	background: #1b1b1b;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
}

.sunland-sp-gallery img {
	width: 100%;
	height: auto;
	display: block;
}

.sunland-sp-placeholder {
	font-size: 4rem;
	min-height: 360px;
	width: 100%;
}

.sunland-sp-badge {
	position: static;
	display: inline-block;
	margin-bottom: 0.9rem;
}

.sunland-sp-title {
	font-size: 2rem;
	font-weight: 800;
	color: #1b1b1b;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.sunland-sp-excerpt {
	color: #5f5f5f;
	font-size: 1rem;
	line-height: 1.65;
	border-left: 3px solid #ff6b00;
	padding-left: 1rem;
	margin-bottom: 1.4rem;
}

.sunland-sp-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 1.3rem;
}

.sunland-sp-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	font-size: 0.9rem;
	color: #757575;
	border-top: 1px solid #f0f0f0;
	padding-top: 1.1rem;
}

.sunland-sp-contact i {
	color: #ff6b00;
	margin-right: 0.4rem;
}

.sunland-sp-content {
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 2rem;
	margin-top: 1.6rem;
	color: #444444;
	line-height: 1.75;
}

.sunland-sp-content h2,
.sunland-sp-content h3 {
	color: #1b1b1b;
}

/* ---------- Pagination ---------- */
.sunland-pg-pagination {
	margin-top: 2.2rem;
	text-align: center;
}

.sunland-pg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 0.2rem;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e4e4e4;
	color: #444444;
	text-decoration: none;
	transition: all 0.2s ease;
}

.sunland-pg-pagination .page-numbers.current,
.sunland-pg-pagination .page-numbers:hover {
	background: #ff6b00;
	border-color: #ff6b00;
	color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.sunland-sp-layout {
		grid-template-columns: 1fr;
		padding: 1.4rem;
	}

	.sunland-pg-title {
		font-size: 2.5rem;
	}
}

@media (max-width: 600px) {
	.sunland-pg-hero {
		padding: 3.2rem 0 2.8rem;
	}

	.sunland-pg-crumb {
		font-size: 1rem;
		padding: 0.45rem 1.1rem;
	}

	.sunland-pg-title {
		font-size: 2.3rem;
	}

	.sunland-pg-subtitle {
		font-size: 1.1rem;
	}

	.sunland-pg-cats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.9rem;
	}

	.sunland-cat-card {
		min-height: 200px;
	}

	.sunland-cat-name {
		font-size: 1.25rem;
	}

	.sunland-cat-meta {
		font-size: 0.98rem;
	}

	.sunland-cat-content {
		padding: 1rem 1rem 0.95rem;
	}

	.sunland-pg-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Homepage information cards: 4-up grid (8 cards => 2 rows) ---------- */
/* The template emits dt-col-lg-3 (25%). Keep 4 per row so 8 cards form a clean 2x4 grid. */

/* Uniform product-image ratio for every information card */
#dt_information .dt-information-box .image-box .inner-img img {
	width: 100%;
	aspect-ratio: 120 / 69;
	object-fit: cover;
}

/* ---------- Inner-page banner (dt_pagetitle): industrial orange background ---------- */
/* Overrides the theme default glass-building image (set inline in site-breadcrumb.php). */
.dt_pagetitle .dt_pagetitle_bgimage,
.header--one + .dt_pagetitle .dt_pagetitle_bgimage {
	background-image: url('https://sunlandsafety.net/wp-content/uploads/2026/09/pagetitle-hero.jpg') !important;
	background-position: center 32%;
}
/*
Theme Name: Atromax Child
Description: Child theme of Atromax. Sunland product catalog customizations: top-level-only chips navigation and subcategory scenario guide.
Template: atromax
Version: 1.0.0
Text Domain: atromax-child
*/

/* Subcategory scenario guide (Safety Shoes page) */
.sunland-subguide {
	padding: 48px 0 8px;
}
.sunland-subguide-title {
	font-size: 26px;
	font-weight: 600;
	color: #1b1b1b;
	margin: 0 0 6px;
}
.sunland-subguide-desc {
	color: #666;
	margin: 0 0 24px;
	font-size: 15px;
}
.sunland-subguide-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
@media (max-width: 991px) {
	.sunland-subguide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
	.sunland-subguide-grid { grid-template-columns: 1fr; }
}
.sunland-subguide-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	background: #222;
	text-decoration: none;
}
.sunland-subguide-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}
.sunland-subguide-card:hover img {
	transform: scale(1.06);
}
.sunland-subguide-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%);
}
.sunland-subguide-content {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	color: #fff;
	z-index: 2;
}
.sunland-subguide-name {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}
.sunland-subguide-count {
	display: block;
	font-size: 12px;
	opacity: .85;
	margin-top: 2px;
}
.sunland-subguide-go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 12px;
	color: #ffb800;
	font-weight: 600;
}
.sunland-subguide-card:hover .sunland-subguide-go {
	color: #ffd500;
}
