#khojaste-specs {
	margin: 25px 0 10px;
	padding: 20px;
	border: 1px solid var(--wd-border-color, #e5e5e5);
	border-radius: 12px;
	background-color: #fff;
}

/* Full-width section below the product image + summary row (moved by JS) */
#product #khojaste-specs {
	width: 100%;
	box-sizing: border-box;
}

#khojaste-specs .specs-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--wd-primary-color, #83b735);
	display: inline-block;
	color: var(--wd-color-title, #242424);
}

#khojaste-specs .specs-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
}

#khojaste-specs .specs-row:last-child {
	margin-bottom: 0;
}

#khojaste-specs .specs-col {
	flex: 1 1 280px;
	min-width: 0;
}

#khojaste-specs .specs-heading,
#khojaste-specs .perfume-attr-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--wd-color-title, #242424);
	margin: 0 0 12px;
}

#khojaste-specs .perfume-attr-group {
	margin-bottom: 20px;
}

#khojaste-specs .perfume-attr-group:last-child {
	margin-bottom: 0;
}

/* ---------- chord chart (accords) — horizontal bars like season chart, animated on scroll ---------- */
#khojaste-specs .perfume-accords {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ---------- notes ---------- */
#khojaste-specs .perfume-attr-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
}

#khojaste-specs .perfume-attr {
	display: flex;
	align-items: center;
	gap: 8px;
}

#khojaste-specs .perfume-attr img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #eee;
}

#khojaste-specs .perfume-attr .title {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wd-color-body, #333);
}

/* ---------- time + season bars (mirrors hamedsps.ir) ---------- */
#khojaste-specs .specs-box {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
}

#khojaste-specs .specs-row .specs-box {
	flex: 1 1 280px;
	margin-top: 0;
}

#khojaste-specs .perfume-bar {
	background: #ddd;
	border-radius: 8px;
	overflow: hidden;
	height: 35px;
	display: flex;
}

#khojaste-specs .perfume-bar .bar {
	height: 100%;
	font-size: 12px;
	display: flex;
	align-items: center;
	padding: 0 10px;
	white-space: nowrap;
	box-sizing: border-box;
	transition: width 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
	transition-delay: var(--delay, 0s);
}

#khojaste-specs .perfume-bar.dual .bar {
	justify-content: center;
}

#khojaste-specs .bar.day {
	background: #9ec9e6;
}

#khojaste-specs .bar.night {
	background: #6b6b73;
	color: #fff;
}

#khojaste-specs .bar.spring {
	background: #8bd36b;
}

#khojaste-specs .bar.summer {
	background: #f6c344;
}

#khojaste-specs .bar.autumn {
	background: #e07a2f;
	color: #fff;
}

#khojaste-specs .bar.winter {
	background: #5aa0d6;
	color: #fff;
}

#khojaste-specs .perfume-seasons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

@media (max-width: 767px) {
	#khojaste-specs .specs-row {
		flex-direction: column;
	}

	#khojaste-specs .perfume-seasons {
		grid-template-columns: 1fr;
	}
}

/* ---------- linked notes chips ---------- */
#khojaste-specs a.perfume-attr {
	text-decoration: none;
	padding: 6px 12px;
	border: 1px solid transparent;
	border-radius: 24px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

#khojaste-specs a.perfume-attr:hover {
	border-color: var(--wd-border-color, #e5e5e5);
	background-color: #fafafa;
}

/* ---------- linked chord bars ---------- */
#khojaste-specs a.bar.accord {
	text-decoration: none;
	transition: width 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.2s ease, transform 0.2s ease;
}

#khojaste-specs a.bar.accord:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* ---------- product attribute table — mobile fix ---------- */
@media (max-width: 767px) {
	.shop_attributes {
		overflow-x: auto;
	}

	.shop_attributes tbody {
		display: block;
	}

	.shop_attributes tr {
		flex-wrap: wrap;
		gap: 4px 10px;
	}

	.shop_attributes td {
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

/* ---------- same-brand products section ---------- */
.khojaste-brand-section {
	max-width: var(--wd-container-w, 1222px);
	padding-inline: 15px;
	margin-inline: auto;
}

.khojaste-brand-jump {
	margin-top: 25px;
	margin-bottom: 20px;
}

.khojaste-brand-jump a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	background: var(--wd-primary-color, rgb(28, 83, 80));
	padding: 10px 22px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.khojaste-brand-jump a::after {
	content: "\2193";
	font-size: 14px;
}

.khojaste-brand-jump a:hover {
	background: var(--wd-primary-color-hover, rgb(29, 104, 98));
}

.khojaste-brand-products {
	margin-top: 0;
	scroll-margin-top: 30px;
}

.khojaste-brand-products h2 {
	font-size: 17px;
	font-weight: 700;
	color: var(--wd-color-title, #242424);
}

.khojaste-brand-more {
	text-align: end;
	margin-top: 12px;
}

.khojaste-brand-more a {
	color: var(--wd-primary-color, #83b735);
	font-weight: 600;
	text-decoration: none;
}

.khojaste-brand-more a:hover {
	text-decoration: underline;
}

/* Smaller product image on the single product page (desktop) */
@media (min-width: 1025px) {
	.wd-single-gallery > .elementor-widget-container {
		max-width: 460px;
		margin-inline: auto;
	}
}