/* ==========================================================
   Product Detail Specs Widget — matches overview.html design
   ========================================================== */

.pds-widget {
	width: 100%;
}

/* ----------------------------------------------------------
   Two-column layout
   ---------------------------------------------------------- */

.pds-overview-inner {
	display: flex;
	gap: 63px;
	align-items: flex-start;
}

/* Left column */
.pds-left-col {
	max-width: 390px;
	width: 100%;
	flex: 0 0 390px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* Right column */
.pds-right-col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

/* ----------------------------------------------------------
   Left: intro wrapper (heading + description)
   ---------------------------------------------------------- */

.pds-intro-wrapper {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.pds-col-heading {
	font-size: 16px;
	font-weight: 700;
	line-height: 100%;
	color: #000000;
	margin: 0;
}

.pds-intro {
	font-size: 16px;
	font-weight: 400;
	line-height: 130%;
	color: #000000;
}

/* ----------------------------------------------------------
   Left: features list
   ---------------------------------------------------------- */

.pds-features {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-left: 20px;
}

.pds-feature-item {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: flex-start;
}

.pds-feature-icon-wrap {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: #231F20;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pds-feature-icon-wrap i {
	font-size: 24px;
	line-height: 1;
}

.pds-feature-icon-wrap svg {
	width: 24px;
	height: 24px;
}

.pds-feature-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pds-feature-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 130%;
	color: #000000;
}

.pds-feature-desc {
	font-size: 16px;
	font-weight: 400;
	line-height: 130%;
	color: #685C45;
}

/* ----------------------------------------------------------
   Right: configuration grid
   ---------------------------------------------------------- */

.pds-config-wrap {
	overflow: hidden;
}

/* Header row */
.pds-col-headers {
	display: grid;
	background: #1E1E1E;
	color: #ffffff;
}

.pds-col-headers span {
	padding: 10px 30px;
	font-size: 16px;
	font-weight: 400;
	line-height: 130%;
	border-right: 1px solid #ffffff;
}

.pds-col-headers span:last-child {
	border-right: none;
}

/* Data rows */
.pds-cfg-row {
	display: grid;
	border-top: 4px solid #ffffff;
	background-color: #F0F0F0;
}

.pds-cfg-row .pds-cell {
	padding: 10px 30px;
	font-size: 14px;
	font-weight: 400;
	line-height: 130%;
	color: #32312F;
	border-right: 1px solid #ffffff;
}

.pds-cfg-row .pds-cell:last-child {
	border-right: none;
}

/* Mobile-only elements — hidden on desktop */
.pds-mob-header {
	display: none;
}

.pds-row-chevron {
	display: none;
}

/* display:contents lets the inner cells participate in the row's CSS grid */
.pds-mob-body {
	display: contents;
}

.pds-mob-body-inner {
	display: contents;
}

/* Cell labels only shown on mobile */
.pds-cell-label {
	display: none;
}

/* ----------------------------------------------------------
   No variations notice
   ---------------------------------------------------------- */

.pds-no-variations {
	color: #888;
	font-style: italic;
}

.pds-cell-value {
	text-transform: capitalize;
}

/* ----------------------------------------------------------
   1280px and below — fluid columns
   ---------------------------------------------------------- */

@media screen and (max-width: 1279px) {
	.pds-left-col {
		max-width: 30%;
		flex: 0 0 30%;
	}

	.pds-right-col {
		width: 70%;
	}

	.pds-col-headers span,
	.pds-cfg-row .pds-cell {
		padding: 10px 20px;
	}
}

/* ----------------------------------------------------------
   820px and below — stacked layout + accordion rows
   ---------------------------------------------------------- */

@media screen and (max-width: 820px) {

	.pds-overview-inner {
		flex-direction: column;
		gap: 40px;
	}

	.pds-left-col {
		max-width: 100%;
		flex: 0 0 auto;
		width: 100%;
		gap: 35px;
	}

	.pds-right-col {
		width: 100%;
		gap: 30px;
		padding-top: 35px;
		border-top: 1px solid #685C45;
	}

	/* Grid → stacked accordion cards */
	.pds-config-wrap {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.pds-col-headers {
		display: none;
	}

	.pds-cfg-row {
		display: block;
		border: 1px solid #F5F2ED;
		border-top: 1px solid #F5F2ED;
		border-radius: 4px;
		background: #ffffff !important;
		cursor: pointer;
	}

	/* Show mobile accordion header */
	.pds-mob-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 35px 42px;
		gap: 10px;
	}

	.pds-mob-title {
		font-size: 16px;
		font-weight: 700;
		line-height: 130%;
		color: #32312F;
	}

	.pds-row-chevron {
		display: block;
		width: 16px;
		height: 16px;
		flex-shrink: 0;
		color: #685C45;
		transition: transform 0.3s ease;
	}

	.pds-cfg-row.pds-open .pds-row-chevron {
		transform: rotate(180deg);
	}

	/* Hide first cell (only shown via mob-header on mobile) */
	.pds-cfg-row > .pds-cell {
		display: none;
	}

	/* Accordion body */
	.pds-mob-body {
		display: block;
		overflow: hidden;
		transition: height 0.3s ease;
	}

	.pds-mob-body-inner {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 26px;
		padding: 5px 42px 40px;
	}

	.pds-mob-body .pds-cell {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 7px;
		padding: 0;
		border: none;
	}

	.pds-cell-label {
		display: block;
		font-size: 16px;
		line-height: 130%;
		font-weight: 400;
		color: #000000;
	}

	.pds-cell-value {
		font-size: 14px;
		font-weight: 400;
		line-height: 130%;
		color: #32312F;
	}
}

/* ----------------------------------------------------------
   575px and below — tighter typography
   ---------------------------------------------------------- */

@media screen and (max-width: 575px) {
	.pds-intro-wrapper {
		gap: 20px;
	}

	.pds-features {
		padding-left: 0;
		gap: 24px;
	}

	.pds-col-heading,
	.pds-intro,
	.pds-feature-title,
	.pds-feature-desc {
		font-size: 14px;
	}
}
