/* ============================================================
   DLC Department Categories - v1.1.11
   Full-width background image section with circle tiles
   Heights and breakpoints match corsetmaking.css exactly
   ============================================================ */

/* ── Section Wrapper ──────────────────────────────────────── */
.dlc-dept-cat {
	width: 100%;
	background-color: #4a3728;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 500px;
	padding: 15px 0;
	box-sizing: border-box;
	margin-bottom: 1.5em;
}

/* ── Inner Container ──────────────────────────────────────── */
.dlc-dept-cat__inner {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
	text-align: center;
}

/* ── Section Heading ──────────────────────────────────────── */
.dlc-dept-cat__heading {
	font-family: "EB Garamond", Georgia, serif;
	font-style: italic;
	font-size: 2em;
	color: #d7b364;
	text-align: center;
	margin: 0 0 1em;
	text-shadow: 2px 2px 1px #000000;
}

/* ── Grid ─────────────────────────────────────────────────── */
.dlc-dept-cat__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* ── Individual Tile ──────────────────────────────────────── */
.dlc-dept-cat__tile {
	flex: 0 0 25%;
	max-width: 25%;
	padding: 0 10px;
	box-sizing: border-box;
	text-align: center;
	margin-bottom: 1.5em;
}

/* ── Circle ───────────────────────────────────────────────── */
.dlc-dept-cat__circle-link {
	display: block;
	text-decoration: none;
}

.dlc-dept-cat__circle {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 0.75em;
	background-color: rgba(255,255,255,0.1);
}

.dlc-dept-cat__circle-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Title ────────────────────────────────────────────────── */
.dlc-dept-cat__title {
	font-family: "EB Garamond", Georgia, serif;
	font-size: 1.4em;
	font-weight: normal;
	color: #ffffff;
	margin: 0 0 0.5em;
	text-shadow: 2px 2px 1px #000000;
}

.dlc-dept-cat__title a {
	color: #ffffff;
	text-decoration: none;
	text-shadow: 2px 2px 1px #000000;
}

.dlc-dept-cat__title a:hover {
	color: #d7b364;
}

/* ── Subcategory Links ────────────────────────────────────── */
.dlc-dept-cat__subcats {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dlc-dept-cat__subcat {
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 12px;
	color: #d7b364;
	text-decoration: none;
	display: block;
	text-shadow: 2px 2px 1px #000000;
}

.dlc-dept-cat__subcat:hover {
	color: #d7b364;
	text-decoration: underline;
}

/* ── 980px to 1199px — circles 150px, height 425px ──────── */
@media (min-width: 980px) and (max-width: 1199px) {
	.dlc-dept-cat {
		height: 425px;
	}
	.dlc-dept-cat__circle {
		width: 150px;
		height: 150px;
	}
}

/* ── 768px to 979px — circles 150px, height 425px ───────── */
@media (min-width: 768px) and (max-width: 979px) {
	.dlc-dept-cat {
		height: 425px;
	}
	.dlc-dept-cat__circle {
		width: 150px;
		height: 150px;
	}
}

/* ── 480px to 767px — solid bg color, single column ─────── */
@media (min-width: 480px) and (max-width: 767px) {

	.dlc-dept-cat {
		background-image: none !important;
		height: auto;
	}

	/* Department solid background colors */
	.dlc-dept-cat[data-dept="corset"]    { background: rgb(133, 82, 125) !important; }
	.dlc-dept-cat[data-dept="steampunk"] { background: rgb(119, 16, 0) !important; }
	.dlc-dept-cat[data-dept="bra"]       { background: rgb(197, 77, 112) !important; }
	.dlc-dept-cat[data-dept="leather"]   { background: rgb(35, 31, 32) !important; }
	.dlc-dept-cat[data-dept="costume"]   { background: rgb(223, 127, 32) !important; }
	.dlc-dept-cat[data-dept="hat"]       { background: rgb(0, 154, 190) !important; }

	.dlc-dept-cat__grid {
		flex-direction: column;
		align-items: center;
	}

	.dlc-dept-cat__tile {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.dlc-dept-cat__circle {
		width: 200px;
		height: 200px;
	}
}

/* ── Below 480px — same solid colors, slightly smaller ───── */
@media (max-width: 479px) {

	.dlc-dept-cat {
		background-image: none !important;
		height: auto;
	}

	.dlc-dept-cat[data-dept="corset"]    { background: rgb(133, 82, 125) !important; }
	.dlc-dept-cat[data-dept="steampunk"] { background: rgb(119, 16, 0) !important; }
	.dlc-dept-cat[data-dept="bra"]       { background: rgb(197, 77, 112) !important; }
	.dlc-dept-cat[data-dept="leather"]   { background: rgb(35, 31, 32) !important; }
	.dlc-dept-cat[data-dept="costume"]   { background: rgb(223, 127, 32) !important; }
	.dlc-dept-cat[data-dept="hat"]       { background: rgb(0, 154, 190) !important; }

	.dlc-dept-cat__grid {
		flex-direction: column;
		align-items: center;
	}

	.dlc-dept-cat__tile {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.dlc-dept-cat__circle {
		width: 180px;
		height: 180px;
	}
}
